diff options
Diffstat (limited to 'tests/openpgp/detach.test')
-rwxr-xr-x | tests/openpgp/detach.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/openpgp/detach.test b/tests/openpgp/detach.test new file mode 100755 index 000000000..6a3ae05c5 --- /dev/null +++ b/tests/openpgp/detach.test @@ -0,0 +1,10 @@ +#!/bin/sh + +. $srcdir/defs.inc || exit 3 + +#info Checking detached signatures +for i in $plain_files $data_files ; do + echo "$usrpass1" | $GPG --passphrase-fd 0 -sb -o x --yes $i + $GPG -o /dev/null --yes x <$i || error "$i: bad signature" +done + |