summaryrefslogtreecommitdiffstats
path: root/checks/detachm.test
blob: 4130ea33f4f6b24c048c3b563b767c8167c8dcac (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

. defs.inc || exit 3

#info Checking detached signatures of multiple files
i="$plain_files $data_files"
echo "$usrpass1" | ./run-gpg --passphrase-fd 0 -sb -o x --yes $i
cat $i | ./run-gpg -o /dev/null --yes x || error "$i: bad signature"