diff options
| author | Werner Koch <[email protected]> | 1998-04-08 19:42:07 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1998-04-08 19:42:07 +0000 |
| commit | 8ab0adb9f8e5fe4a4c5aa7097b7084ee6b44c17c (patch) | |
| tree | 59c6d36289751a95c1755035ed369a40325b850c /checks/encrypt-dsa.test | |
| parent | test file (diff) | |
| download | gnupg-8ab0adb9f8e5fe4a4c5aa7097b7084ee6b44c17c.tar.gz gnupg-8ab0adb9f8e5fe4a4c5aa7097b7084ee6b44c17c.zip | |
New tests
Diffstat (limited to 'checks/encrypt-dsa.test')
| -rwxr-xr-x | checks/encrypt-dsa.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/checks/encrypt-dsa.test b/checks/encrypt-dsa.test new file mode 100755 index 000000000..d506e8890 --- /dev/null +++ b/checks/encrypt-dsa.test @@ -0,0 +1,19 @@ +#!/bin/sh + +. defs.inc || exit 3 + +#info Checking encryption +for i in $plain_files $data_files ; do + ./run-gpg $dsa_keyrings -e -o x --yes -r "$dsa_usrname2" $i + ./run-gpg $dsa_keyrings -o y --yes x + cmp $i y || error "$i: mismatch" +done + +# and with cast +for i in $plain_files $data_files ; do + ./run-gpg $dsa_keyrings --cipher-algo cast -e \ + -o x --yes -r "$dsa_usrname2" $i + ./run-gpg $dsa_keyrings -o y --yes x + cmp $i y || error "$i: mismatch" +done + |
