aboutsummaryrefslogtreecommitdiffstats
path: root/checks/sigs.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/sigs.test')
-rwxr-xr-xchecks/sigs.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/checks/sigs.test b/checks/sigs.test
index 15c464f1e..4b3894c28 100755
--- a/checks/sigs.test
+++ b/checks/sigs.test
@@ -9,3 +9,13 @@ for i in $plain_files $data_files; do
cmp $i y || error "$i: mismatch"
done
+for da in rmd160 sha1 md5 tiger; do
+ for i in $plain_files; do
+ echo "$usrpass1" | ./run-gpg --passphrase-fd 0 --digest-algo $da \
+ -s -o x --yes $i
+ ./run-gpg -o y --yes x
+ cmp $i y || error "$i: mismatch"
+ # process only the first one
+ break
+ done
+done