Oops, meant to use $failed (number of failed checks) as the exit code.
[mmh] / test / tests / bad-input / test-header
index 4832106..b9e76a1 100644 (file)
@@ -1,4 +1,9 @@
 #!/bin/sh
+######################################################
+#
+# Test bogus headers (no blank line before body).
+#
+######################################################
 
 # TODO: Move to a common file tests can source; need more framework...
 failed=0
@@ -66,3 +71,5 @@ I am a stupid spammer.
 EOF
 mhshow -nopause $msgnum > $actual 2>&1
 check
+
+exit $failed