summaryrefslogtreecommitdiffstats
path: root/checks/detach.test
blob: 37700e5175009b6e8a1a83bbed8254a27d1961cd (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

. $srcdir/defs.inc || exit 3

#info Checking detached signatures
for i in $plain_files $data_files ; do
    echo "$usrpass1" | ./run-gpg --passphrase-fd 0 -sb -o x --yes $i
    ./run-gpg -o /dev/null --yes x  <$i || error "$i: bad signature"
done