Module Name:    src
Committed By:   apb
Date:           Thu Aug 21 12:42:03 UTC 2014

Modified Files:
        src/usr.bin/make/unit-tests: Makefile

Log Message:
When sanitising test output, replace "${TEST_MAKE}" with "make".
This string may appear in error messages that end up in the output.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/usr.bin/make/unit-tests/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/unit-tests/Makefile
diff -u src/usr.bin/make/unit-tests/Makefile:1.39 src/usr.bin/make/unit-tests/Makefile:1.40
--- src/usr.bin/make/unit-tests/Makefile:1.39	Wed Aug 20 08:39:14 2014
+++ src/usr.bin/make/unit-tests/Makefile	Thu Aug 21 12:42:03 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2014/08/20 08:39:14 apb Exp $
+# $NetBSD: Makefile,v 1.40 2014/08/21 12:42:03 apb Exp $
 #
 # Unit tests for make(1)
 # The main targets are:
@@ -82,6 +82,7 @@ test:
 	@echo "${TEST_MAKE} -f ${MAKEFILE} > ${.TARGET}.out 2>&1"
 	@cd ${.OBJDIR} && ${TEST_MAKE} -f ${MAKEFILE} 2>&1 | \
 	${TOOL_SED} -e 's,^${TEST_MAKE:T:C/\./\\\./g}[^:]*:,make:,' \
+	-e 's,${TEST_MAKE:C/\./\\\./g},make,' \
 	-e '/stopped/s, /.*, unit-tests,' \
 	-e 's,${.CURDIR:C/\./\\\./g}/,,g' \
 	-e 's,${UNIT_TESTS:C/\./\\\./g}/,,g' > ${.TARGET}.out || { \

Reply via email to