last perl tests migrated to unittests.sh

This commit is contained in:
Thomas von Dein
2016-10-25 21:33:16 +02:00
parent 2cb91c93e0
commit 9c78f3ad63
11 changed files with 188 additions and 183 deletions

View File

@@ -22,42 +22,42 @@
py=./pytest.py
py-import-keys () {
py_import_keys () {
cmd="$py impkeys"
expect=/ok/
}
py-encrypt-asym-armor () {
py_encrypt_asym_armor () {
cmd="$py asymarmor"
expect=/ok/
check "$cmd" "$expect" "$input"
}
py-encrypt-asym-raw () {
py_encrypt_asym_raw () {
cmd="$py asymraw"
expect=/ok/
check "$cmd" "$expect" "$input"
}
py-encrypt-asym-sign () {
py_encrypt_asym_sign () {
cmd="$py asymsign"
expect=/ok/
check "$cmd" "$expect" "$input"
}
py-encrypt-asym-anon () {
py_encrypt_asym_anon () {
cmd="$py asymanon"
expect=/ok/
check "$cmd" "$expect" "$input"
}
py-encrypt-sym-armor () {
py_encrypt_sym_armor () {
cmd="$py symarmor"
expect=/ok/
check "$cmd" "$expect" "$input"
}
py-encrypt-sym-raw () {
py_encrypt_sym_raw () {
cmd="$py symraw"
expect=/ok/
check "$cmd" "$expect" "$input"