Module Name: src
Committed By: mrg
Date: Thu Jan 17 07:39:00 UTC 2019
Modified Files:
src/libexec/httpd: Makefile
src/libexec/httpd/testsuite: t11.out
Log Message:
add 'check' target to toplevel makefile.
fix the t11.out output now that CGI parsing works better.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/libexec/httpd/Makefile
cvs rdiff -u -r1.1 -r1.2 src/libexec/httpd/testsuite/t11.out
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/Makefile
diff -u src/libexec/httpd/Makefile:1.27 src/libexec/httpd/Makefile:1.28
--- src/libexec/httpd/Makefile:1.27 Sun May 21 15:28:41 2017
+++ src/libexec/httpd/Makefile Thu Jan 17 07:39:00 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2017/05/21 15:28:41 riastradh Exp $
+# $NetBSD: Makefile,v 1.28 2019/01/17 07:39:00 mrg Exp $
#
# $eterna: Makefile,v 1.30 2010/07/11 00:34:27 mrg Exp $
#
@@ -77,6 +77,9 @@ bozohttpd.8.txt: bozohttpd.8
CLEANFILES+= bozohttpd.8.html bozohttpd.8.txt
+check:
+ cd ${.CURDIR}/testsuite && ${MAKE} check
+
# Create a distfile: uses /tmp
BASE=bozohttpd-${BOZOVER}
TAR=${BASE}.tar
Index: src/libexec/httpd/testsuite/t11.out
diff -u src/libexec/httpd/testsuite/t11.out:1.1 src/libexec/httpd/testsuite/t11.out:1.2
--- src/libexec/httpd/testsuite/t11.out:1.1 Tue Jan 31 14:33:54 2017
+++ src/libexec/httpd/testsuite/t11.out Thu Jan 17 07:39:00 2019
@@ -1 +1,11 @@
HTTP/1.1 200 OK
+Content-Type: text/html
+Content-Length: 194
+Server: bozohttpd/20181215
+Allow: GET, HEAD, POST
+
+<html><head><title>404 Not Found</title></head>
+<body><h1>404 Not Found</h1>
+cgi-bin/echo.bat: <pre>This item has not been found</pre>
+<hr><address><a href="// /"> </a></address>
+</body></html>