aboutsummaryrefslogtreecommitdiffstats
path: root/checks/conventional.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xchecks/conventional.test19
1 files changed, 8 insertions, 11 deletions
diff --git a/checks/conventional.test b/checks/conventional.test
index 5492ac988..6f78b0191 100755
--- a/checks/conventional.test
+++ b/checks/conventional.test
@@ -8,16 +8,13 @@ for i in plain-2 data-32000 ; do
echo "Hier spricht HAL" | $srcdir/run-gpg --passphrase-fd 0 -o y --yes x
cmp $i y || error "$i: mismatch"
done
-for i in plain-1 data-80000 ; do
- echo "Hier spricht HAL" | $srcdir/run-gpg --passphrase-fd 0 \
- --cipher-algo cast5 -c -o x --yes $i
- echo "Hier spricht HAL" | $srcdir/run-gpg --passphrase-fd 0 -o y --yes x
- cmp $i y || error "$i: mismatch"
-done
-for i in plain-1 data-80000 ; do
- echo "Hier spricht HAL" | $srcdir/run-gpg --passphrase-fd 0 \
- --cipher-algo 3des -c -o x --yes $i
- echo "Hier spricht HAL" | $srcdir/run-gpg --passphrase-fd 0 -o y --yes x
- cmp $i y || error "$i: mismatch"
+
+for a in cast5 3des twofish; do
+ for i in plain-1 data-80000 ; do
+ echo "Hier spricht HAL" | $srcdir/run-gpg --passphrase-fd 0 \
+ --cipher-algo $a -c -o x --yes $i
+ echo "Hier spricht HAL" | $srcdir/run-gpg --passphrase-fd 0 -o y --yes x
+ cmp $i y || error "$i: ($a) mismatch"
+ done
done