Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Remove any stale .fifo files when doing 'test'. Th...
details: https://anonhg.NetBSD.org/src/rev/efd9ba82b64c
branches: trunk
changeset: 764971:efd9ba82b64c
user: jmmv <jmmv%NetBSD.org@localhost>
date: Sat May 14 17:47:28 2011 +0000
description:
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.
diffstat:
share/mk/bsd.test.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r b1b8ef20629a -r efd9ba82b64c share/mk/bsd.test.mk
--- a/share/mk/bsd.test.mk Sat May 14 17:42:28 2011 +0000
+++ b/share/mk/bsd.test.mk Sat May 14 17:47:28 2011 +0000
@@ -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 & \
Home |
Main Index |
Thread Index |
Old Index