Module Name: src
Committed By: jmmv
Date: Sat May 14 17:47:28 UTC 2011
Modified Files:
src/share/mk: bsd.test.mk
Log Message:
Remove any stale .fifo files when doing 'test'. These may be leaked if
the user aborts the execution of atf-run with Ctrl+C, which will prevent
a subsequent 'make test' from working at all.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/mk/bsd.test.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.test.mk
diff -u src/share/mk/bsd.test.mk:1.17 src/share/mk/bsd.test.mk:1.18
--- src/share/mk/bsd.test.mk:1.17 Sun Mar 27 14:22:02 2011
+++ src/share/mk/bsd.test.mk Sat May 14 17:47:28 2011
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.test.mk,v 1.17 2011/03/27 14:22:02 plunky Exp $
+# $NetBSD: bsd.test.mk,v 1.18 2011/05/14 17:47:28 jmmv Exp $
#
.include <bsd.init.mk>
@@ -139,6 +139,7 @@
@echo
@set -e; \
cd ${DESTDIR}${TESTSDIR}; \
+ rm -f ${_TESTS_FIFO}; \
mkfifo ${_TESTS_FIFO}; \
cat ${_TESTS_FIFO} | tee ${_TESTS_LOG} | \
${TESTS_ENV} ${DESTDIR}/usr/bin/atf-report & \