From aa1e1e87d02f4c3b48436dc838f5b98ff4395c72 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 26 Oct 2012 20:14:40 +0000 Subject: [PATCH] Test both active and non-active cases. --- tools/regression/filemon/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/regression/filemon/Makefile b/tools/regression/filemon/Makefile index 0ff57effe29a..d92d20fcca7b 100644 --- a/tools/regression/filemon/Makefile +++ b/tools/regression/filemon/Makefile @@ -21,7 +21,11 @@ CLEANFILES+= ${BINS} tests: bins kldstat | grep filemon ${MAKE} test + @echo "Without filemon(4) active:" ./timed-forkb + @echo "With filemon(4) active:" + script -f typescript-timed-forkb ./timed-forkb + ls -l typescript-timed-forkb.filemon @echo "filemon(4) tests passed." # Cannot use .OBJDIR -- 'filemontest' expects 'test_script.sh' in . @@ -40,7 +44,11 @@ test: filemontest clean-test grep -q -v '\.[0-9][0-9][0-9][0-9][0-9][0-9]$$' || echo "Time stamp format OK" .endfor +CLEANFILES+= typescript-timed-forkb typescript-timed-forkb.filemon + clean-test: cd ${.CURDIR} ; rm -f filemon_log.* +clean-tests: clean-test + .include