xref: /openbsd/regress/usr.sbin/httpd/tests/README (revision 5e485d0f)
1Run httpd regression tests.  The framework runs a client and an httpd.
2Each test creates a special httpd.conf and starts those two processes.
3All processes write log files that are checked for certain messages.
4The test arguments are kept in the args-*.pl files.
5
6SUDO=doas
7As httpd needs root privileges, either run the tests as root or set
8this variable and run make as a regular user.  Only the code that
9requires it is run as root.
10
11KTRACE=ktrace
12Set this variable if you want a ktrace output from httpd.  Note that
13ktrace is invoked after SUDO as SUDO would disable it.
14
15HTTPD=/usr/src/usr.sbin/httpd/obj/httpd
16Start an alternative httpd program that is not in the path.
17
18HTDOCS_SPARSE=no
19Set to anything other than "yes" to create real test files instead of
20sparse files.  This needs more than 1G of free disk space.
21