Sync usage with man page.
[netbsd-mini2440.git] / libexec / httpd / testsuite / Makefile
blob1c64fa0b30f44b11b883f40376f36af76a1ed4ea
1 # $eterna: Makefile,v 1.14 2009/05/22 21:51:39 mrg Exp $
3 SIMPLETESTS= t1 t2 t3 t4 t5 t6 t7 t8 t9 t10
4 BIGFILETESTS= partial4000 partial8000
6 BOZOHTTPD?= ../bozohttpd
7 BOZOHTTPD?= ../debug/bozohttpd-debug
8 WGET?= wget
10 all:
12 clean:
13 for a in $(SIMPLETESTS); do \
14 rm -f tmp.$$a.out; \
15 done
17 check: check-simple check-bigfile
19 check-simple:
20 .for a in $(SIMPLETESTS)
21 echo "Running test $a"
22 $(BOZOHTTPD) ./data < $(.CURDIR)/$a.in > tmp.$a.out || true
23 $(.CURDIR)/html_cmp $(.CURDIR)/$a.out tmp.$a.out
24 .endfor
26 check-bigfile:
27 .for a in $(BIGFILETESTS)
28 echo "Running test $a"
29 $(.CURDIR)/test-bigfile "$a" "${BOZOHTTPD}" "${WGET}" "./data"
30 .endfor
32 .include <bsd.obj.mk>