diff options
author | Werner Koch <wk@gnupg.org> | 2006-08-21 22:20:23 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-08-21 22:20:23 +0200 |
commit | 0ebd23fa76e5af72ad3dc33144efa45500101a1b (patch) | |
tree | f5b5f10a242e8d597c7fc599663a455350f0c43b /tests/openpgp/signencrypt.test | |
parent | disconnectafter wake-up bug fix by Bob Dunlop. (diff) | |
download | gnupg2-0ebd23fa76e5af72ad3dc33144efa45500101a1b.tar.xz gnupg2-0ebd23fa76e5af72ad3dc33144efa45500101a1b.zip |
Migrated more stuff to doc/
Migrated the gpg regression tests.
Some changes tp the gpg code to fix bugs and
for the use in testing.
make distcheck works now with gpg enabled.
Diffstat (limited to 'tests/openpgp/signencrypt.test')
-rwxr-xr-x | tests/openpgp/signencrypt.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/openpgp/signencrypt.test b/tests/openpgp/signencrypt.test new file mode 100755 index 000000000..1d05990fc --- /dev/null +++ b/tests/openpgp/signencrypt.test @@ -0,0 +1,13 @@ +#!/bin/sh + +. $srcdir/defs.inc || exit 3 + + +#info Checking signing and encryption +for i in $plain_files $data_files ; do + echo "$usrpass1" | $GPG --passphrase-fd 0 --always-trust \ + -se -o x --yes -r "$usrname2" $i + $GPG -o y --yes x + cmp $i y || error "$i: mismatch" +done + |