summaryrefslogtreecommitdiff
path: root/libexec/httpd
diff options
context:
space:
mode:
authorschmonz <schmonz@NetBSD.org>2016-09-26 00:21:22 +0000
committerschmonz <schmonz@NetBSD.org>2016-09-26 00:21:22 +0000
commit0f41bae54e144ef44e8a529a6c0dfc77725e2b42 (patch)
treebdc845f46d9d69e2122d84f277c687b44cdc94e4 /libexec/httpd
parent2f470110e70fed9b84105e6befa39a7d220e78ea (diff)
Missed in previous: exit 1 if html_cmp says no match.
Diffstat (limited to 'libexec/httpd')
-rwxr-xr-xlibexec/httpd/testsuite/test-simple3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/httpd/testsuite/test-simple b/libexec/httpd/testsuite/test-simple
index 996ff1b5403..73bced0c10a 100755
--- a/libexec/httpd/testsuite/test-simple
+++ b/libexec/httpd/testsuite/test-simple
@@ -1,5 +1,5 @@
#! /bin/sh
-# $NetBSD: test-simple,v 1.1 2016/09/23 16:55:56 schmonz Exp $
+# $NetBSD: test-simple,v 1.2 2016/09/26 00:21:22 schmonz Exp $
test="$1"
bozohttpd="$2"
@@ -19,4 +19,5 @@ if ./html_cmp $test.out tmp.$test.out; then
exit 0
else
[ "yes" = "$verbose" ] || echo "Failed test $test: `cat tmp.$test.err; echo; cat $test.out`"
+ exit 1
fi