svn commit: r237794 - head/tools/regression/filemon
David E. O'Brien
obrien at FreeBSD.org
Fri Jun 29 15:54:08 UTC 2012
Author: obrien
Date: Fri Jun 29 15:54:07 2012
New Revision: 237794
URL: http://svn.freebsd.org/changeset/base/237794
Log:
Support also running a 32-bit test on 64-bit platforms.
Modified:
head/tools/regression/filemon/Makefile
Modified: head/tools/regression/filemon/Makefile
==============================================================================
--- head/tools/regression/filemon/Makefile Fri Jun 29 15:47:03 2012 (r237793)
+++ head/tools/regression/filemon/Makefile Fri Jun 29 15:54:07 2012 (r237794)
@@ -9,16 +9,18 @@ CFLAGS+= -I${.CURDIR}/../../../sys
# Cannot use .OBJDIR -- 'filemontest' expects 'test_script.sh' in .
test: ${PROG} clean-test
+.for BIN in ${PROG} ${PROG}32
cd ${.CURDIR} ; \
for A in 1 2 3 4 5 6 7 8 9 0; do \
for B in 1 2 3 4 5 6 7 8 9 0; do \
for C in 1 2 3 4 5 6 7 8 9 0; do \
- ${.OBJDIR}/${PROG} ;\
+ test -x ${BIN} && ${.OBJDIR}/${BIN} ;\
done ;\
done ;\
done
@cd ${.CURDIR} ; set +e ; egrep '(Start|Stop) .*\.' filemon_log.* | \
grep -q -v '\.[0-9][0-9][0-9][0-9][0-9][0-9]$$' || echo "Time stamp format OK"
+.endfor
clean-test:
cd ${.CURDIR} ; rm -f filemon_log.*
More information about the svn-src-all
mailing list