aboutsummaryrefslogtreecommitdiffstats
path: root/checks/conventional.test
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-05-04 18:49:26 +0000
committerWerner Koch <[email protected]>1998-05-04 18:49:26 +0000
commit42b03f6ebdda25a5b61db72cf9aecaaf6788de16 (patch)
treea36d2fe06b19dca6f64009010e2a731b45e6b886 /checks/conventional.test
parentfixed last passphrase bug (diff)
downloadgnupg-0-2-17.tar.gz
gnupg-0-2-17.zip
new releaseV0-2-17
Diffstat (limited to '')
-rwxr-xr-xchecks/conventional.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/checks/conventional.test b/checks/conventional.test
new file mode 100755
index 000000000..295db822b
--- /dev/null
+++ b/checks/conventional.test
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+. defs.inc || exit 3
+
+#info Checking conventional encryption
+for i in plain-2 data-32000 ; do
+ echo "Hier spricht HAL" | ./run-gpg --passphrase-fd 0 -c -o x --yes $i
+ echo "Hier spricht HAL" | ./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" | ./run-gpg --passphrase-fd 0 \
+ --cipher-algo cast -c -o x --yes $i
+ echo "Hier spricht HAL" | ./run-gpg --passphrase-fd 0 -o y --yes x
+ cmp $i y || error "$i: mismatch"
+done
+