Module Name:    src
Committed By:   schmonz
Date:           Mon Sep 26 00:21:22 UTC 2016

Modified Files:
        src/libexec/httpd/testsuite: test-simple

Log Message:
Missed in previous: exit 1 if html_cmp says no match.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/libexec/httpd/testsuite/test-simple

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/httpd/testsuite/test-simple
diff -u src/libexec/httpd/testsuite/test-simple:1.1 src/libexec/httpd/testsuite/test-simple:1.2
--- src/libexec/httpd/testsuite/test-simple:1.1	Fri Sep 23 16:55:56 2016
+++ src/libexec/httpd/testsuite/test-simple	Mon Sep 26 00:21:22 2016
@@ -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; t
 	exit 0
 else
 	[ "yes" = "$verbose" ] || echo "Failed test $test: `cat tmp.$test.err; echo; cat $test.out`"
+	exit 1
 fi

Reply via email to