xref: /openbsd/regress/usr.sbin/httpd/tests/README (revision 5e485d0f)
1*5e485d0fStbRun httpd regression tests.  The framework runs a client and an httpd.
253d930aeSreykEach test creates a special httpd.conf and starts those two processes.
353d930aeSreykAll processes write log files that are checked for certain messages.
453d930aeSreykThe test arguments are kept in the args-*.pl files.
553d930aeSreyk
68ee7b134SreykSUDO=doas
7*5e485d0fStbAs httpd needs root privileges, either run the tests as root or set
853d930aeSreykthis variable and run make as a regular user.  Only the code that
9*5e485d0fStbrequires it is run as root.
1053d930aeSreyk
1153d930aeSreykKTRACE=ktrace
1253d930aeSreykSet this variable if you want a ktrace output from httpd.  Note that
13*5e485d0fStbktrace is invoked after SUDO as SUDO would disable it.
1453d930aeSreyk
1553d930aeSreykHTTPD=/usr/src/usr.sbin/httpd/obj/httpd
1653d930aeSreykStart an alternative httpd program that is not in the path.
1753d930aeSreyk
1853d930aeSreykHTDOCS_SPARSE=no
1953d930aeSreykSet to anything other than "yes" to create real test files instead of
2053d930aeSreyksparse files.  This needs more than 1G of free disk space.
21