aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
Diffstat (limited to 'checks')
-rw-r--r--checks/ChangeLog4
-rwxr-xr-xchecks/verify.test7
2 files changed, 11 insertions, 0 deletions
diff --git a/checks/ChangeLog b/checks/ChangeLog
index b338d45f4..790d4b691 100644
--- a/checks/ChangeLog
+++ b/checks/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-11 Werner Koch <[email protected]>
+
+ * verify.test (msg_clsclss_asc): Work around a bug in OpenBSD.
+
2006-04-19 David Shaw <[email protected]>
* sigs.test, mds.test: Add tests for SHA-224, SHA-384, and
diff --git a/checks/verify.test b/checks/verify.test
index bfd7baa0d..4f53b9707 100755
--- a/checks/verify.test
+++ b/checks/verify.test
@@ -226,6 +226,9 @@ ${msg_clss_asc}"
#
# Now run the tests.
#
+# Note that we need to use set +x/-x for the base case check
+# to work around a bug in OpenBSD's sh
+#
for i in $tests ; do
info "checking: $i"
eval "(IFS=; echo \"\$$i\")" >x
@@ -236,10 +239,14 @@ for i in $tests ; do
msg_*_asc_multisig)
$GPG --verify --allow-multisig-verification x \
|| error "verify of $i failed"
+ set +x
$GPG --verify x && error "verify of $i succeeded but should not"
+ set -x
;;
bad_*_asc)
+ set +x
$GPG --verify x && error "verify of $i succeeded but should not"
+ set -x
;;
*)
error "No handler for test case $i"