mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 19:31:09 +01:00
Test both active and non-active cases.
This commit is contained in:
parent
23d9e39c1a
commit
aa1e1e87d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242157
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user