Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/httpd/testsuite Missed in previous: exit 1 if html_c...



details:   https://anonhg.NetBSD.org/src/rev/27b428a2b4c9
branches:  trunk
changeset: 818100:27b428a2b4c9
user:      schmonz <schmonz%NetBSD.org@localhost>
date:      Mon Sep 26 00:21:22 2016 +0000

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

diffstat:

 libexec/httpd/testsuite/test-simple |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 63be85dd550a -r 27b428a2b4c9 libexec/httpd/testsuite/test-simple
--- a/libexec/httpd/testsuite/test-simple       Sun Sep 25 17:14:59 2016 +0000
+++ b/libexec/httpd/testsuite/test-simple       Mon Sep 26 00:21:22 2016 +0000
@@ -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 @@
        exit 0
 else
        [ "yes" = "$verbose" ] || echo "Failed test $test: `cat tmp.$test.err; echo; cat $test.out`"
+       exit 1
 fi



Home | Main Index | Thread Index | Old Index