Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2012 20:14:40 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242157 - head/tools/regression/filemon
Message-ID:  <201210262014.q9QKEe93087094@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: obrien
Date: Fri Oct 26 20:14:40 2012
New Revision: 242157
URL: http://svn.freebsd.org/changeset/base/242157

Log:
  Test both active and non-active cases.

Modified:
  head/tools/regression/filemon/Makefile

Modified: head/tools/regression/filemon/Makefile
==============================================================================
--- head/tools/regression/filemon/Makefile	Fri Oct 26 20:03:08 2012	(r242156)
+++ head/tools/regression/filemon/Makefile	Fri Oct 26 20:14:40 2012	(r242157)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210262014.q9QKEe93087094>