START usr.sbin/httpd 2024-11-20T11:38:27Z ===> patterns ==== test-patterns ==== cc -o patterns-tester -O2 -pipe -MD -MP /usr/src/regress/usr.sbin/httpd/patterns/patterns-tester.c /usr/src/regress/usr.sbin/httpd/patterns/../../../../usr.sbin/httpd/patterns.c -I/usr/src/regress/usr.sbin/httpd/patterns/../../../../usr.sbin/httpd cat /usr/src/regress/usr.sbin/httpd/patterns/test-patterns.in | grep -v '^#' | while IFS=' ' read string pattern comments ; do ./patterns-tester "${string}" "${pattern}" 2>&1 || true; done | diff -I 'OpenBSD' -u /usr/src/regress/usr.sbin/httpd/patterns/test-patterns.out - ===> tests ==== run-args-default.pl ==== mkdir -m 0755 -p htdocs dd of=htdocs/512 seek=$((512 / 512)) bs=512 count=0 status=none md5 -q htdocs/512 >md5-512 mkdir -m 0755 -p htdocs dd of=htdocs/1048576 seek=$((1048576 / 512)) bs=512 count=0 status=none md5 -q htdocs/1048576 >md5-1048576 mkdir -m 0755 -p htdocs dd of=htdocs/1073741824 seek=$((1073741824 / 512)) bs=512 count=0 status=none md5 -q htdocs/1073741824 >md5-1073741824 time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-default.pl 0m01.24s real 0m00.49s user 0m00.42s system ==== run-args-get-1048576.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-get-1048576.pl 0m01.14s real 0m00.51s user 0m00.33s system ==== run-args-get-1073741824.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-get-1073741824.pl 0m29.95s real 0m39.86s user 0m15.58s system ==== run-args-get-512.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-get-512.pl 0m01.16s real 0m00.47s user 0m00.40s system ==== run-args-get-range-512.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-get-range-512.pl 0m01.13s real 0m00.53s user 0m00.33s system ==== run-args-get-range-multipart.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-get-range-multipart.pl 0m01.13s real 0m00.53s user 0m00.28s system ==== run-args-get-slash.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-get-slash.pl 0m01.09s real 0m00.54s user 0m00.29s system ==== run-args-log-user-agent.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-log-user-agent.pl 0m01.09s real 0m00.41s user 0m00.40s system ==== run-args-tls-get-1073741824.pl ==== openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=ca/CN=root/ -nodes -newkey rsa -keyout ca.key -x509 -out ca.crt Generating a 2048 bit RSA private key ...... ........ writing new private key to 'ca.key' ----- openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=server/CN=localhost/ -nodes -newkey rsa -keyout server.key -out server.req Generating a 2048 bit RSA private key .................................................................................... ............................... writing new private key to 'server.key' ----- openssl x509 -CAcreateserial -CAkey ca.key -CA ca.crt -req -in server.req -out server.crt Signature ok subject=/L=OpenBSD/O=httpd-regress/OU=server/CN=localhost openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=client/CN=localhost/ -nodes -newkey rsa -keyout client.key -out client.req Generating a 2048 bit RSA private key ........................ ................. writing new private key to 'client.key' ----- openssl x509 -CAcreateserial -CAkey ca.key -CA ca.crt -req -in client.req -out client.crt Signature ok subject=/L=OpenBSD/O=httpd-regress/OU=client/CN=localhost time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-tls-get-1073741824.pl 1m35.53s real 1m42.78s user 0m40.27s system ==== run-args-tls-get-range-512.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-tls-get-range-512.pl 0m01.26s real 0m00.60s user 0m00.39s system ==== run-args-tls-get-range-multipart.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-tls-get-range-multipart.pl 0m01.36s real 0m00.77s user 0m00.41s system ==== run-args-tls-verify.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-tls-verify.pl 0m01.25s real 0m00.60s user 0m00.42s system ==== run-args-tls.pl ==== time SUDO="" KTRACE= HTTPD= perl -I/usr/src/regress/usr.sbin/httpd/tests /usr/src/regress/usr.sbin/httpd/tests/httpd.pl /usr/src/regress/usr.sbin/httpd/tests/obj /usr/src/regress/usr.sbin/httpd/tests/args-tls.pl 0m01.24s real 0m00.57s user 0m00.45s system PASS usr.sbin/httpd Duration 2m42.66s