]> CyberLeo.Net >> Repos - FreeBSD/releng/9.1.git/blob - tools/regression/filemon/Makefile
Fix multiple vulnerabilities in file(1) and libmagic(3).
[FreeBSD/releng/9.1.git] / tools / regression / filemon / Makefile
1 # $FreeBSD$
2
3 PROG=   filemontest
4
5 NO_MAN=
6
7 WARNS?= 6
8 CFLAGS+= -I${.CURDIR}/../../../sys
9
10 # Cannot use .OBJDIR -- 'filemontest' expects 'test_script.sh' in .
11 test: ${PROG} clean-test
12 .for BIN in ${PROG} ${PROG}32
13         cd ${.CURDIR} ; \
14                 for A in 1 2 3 4 5 6 7 8 9 0; do \
15                 for B in 1 2 3 4 5 6 7 8 9 0; do \
16                 for C in 1 2 3 4 5 6 7 8 9 0; do \
17                         test -x ${BIN} && ${.OBJDIR}/${BIN} ;\
18                 done ;\
19                 done ;\
20                 done
21         @cd ${.CURDIR} ; set +e ; egrep '(Start|Stop) .*\.' filemon_log.* | \
22             grep -q -v '\.[0-9][0-9][0-9][0-9][0-9][0-9]$$' || echo "Time stamp format OK"
23 .endfor
24
25 clean-test:
26         cd ${.CURDIR} ; rm -f filemon_log.*
27
28 .include <bsd.prog.mk>