summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2012-10-26 20:14:40 +0000
committerobrien <obrien@FreeBSD.org>2012-10-26 20:14:40 +0000
commitbdeb3f5a2077ca1a8ea6d3277a13ca04232f5ca1 (patch)
tree16a0107eff80290c704a8b1b62b6670510a92cb8 /tools
parentcca98d66c9602102fa43b858538e520d0c3c1f06 (diff)
downloadFreeBSD-src-bdeb3f5a2077ca1a8ea6d3277a13ca04232f5ca1.zip
FreeBSD-src-bdeb3f5a2077ca1a8ea6d3277a13ca04232f5ca1.tar.gz
Test both active and non-active cases.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/filemon/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/regression/filemon/Makefile b/tools/regression/filemon/Makefile
index 0ff57ef..d92d20f 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 <bsd.prog.mk>
OpenPOWER on IntegriCloud