add 'check' target to toplevel makefile.

fix the t11.out output now that CGI parsing works better.
This commit is contained in:
mrg 2019-01-17 07:39:00 +00:00
parent 9c0805993a
commit d1eeb82409
2 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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>