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