7 bins: filemontest timed-forkb
13 CFLAGS+= -I${.CURDIR}/../../../sys
15 # Should be "WITHOUT_CTF=" below, but stupid infastrurture fails:
16 # "/usr/share/mk/bsd.own.mk", line 489: WITH_CTF and WITHOUT_CTF can't both be set.
22 kldstat | grep filemon
25 @echo "filemon(4) tests passed."
27 # Cannot use .OBJDIR -- 'filemontest' expects 'test_script.sh' in .
28 #FILEMONTEST32= filemontest32
29 test: filemontest clean-test
30 .for BIN in filemontest ${FILEMONTEST32}
32 for A in 1 2 3 4 5 6 7 8 9 0; do \
33 for B in 1 2 3 4 5 6 7 8 9 0; do \
34 for C in 1 2 3 4 5 6 7 8 9 0; do \
35 test -x ${BIN} && ${.OBJDIR}/${BIN} ;\
39 @cd ${.CURDIR} ; set +e ; egrep '(Start|Stop) .*\.' filemon_log.* | \
40 grep -q -v '\.[0-9][0-9][0-9][0-9][0-9][0-9]$$' || echo "Time stamp format OK"
44 cd ${.CURDIR} ; rm -f filemon_log.*
46 .include <bsd.prog.mk>