Module Name: src
Committed By: sjg
Date: Tue Jul 16 19:59:29 UTC 2013
Modified Files:
src/usr.bin/make/unit-tests: Makefile
Log Message:
Fix unit-tests to cope with recent change to progname
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 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.36 src/usr.bin/make/unit-tests/Makefile:1.37
--- src/usr.bin/make/unit-tests/Makefile:1.36 Fri Mar 22 16:36:46 2013
+++ src/usr.bin/make/unit-tests/Makefile Tue Jul 16 19:59:28 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2013/03/22 16:36:46 sjg Exp $
+# $NetBSD: Makefile,v 1.37 2013/07/16 19:59:28 sjg Exp $
#
# Unit tests for make(1)
# The main targets are:
@@ -79,7 +79,7 @@ LANG= C
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:,' \
+ ${TOOL_SED} -e 's,^${TEST_MAKE:T:C/\./\\\./g}[^:]*:,make:,' \
-e '/stopped/s, /.*, unit-tests,' \
-e 's,${.CURDIR:C/\./\\\./g}/,,g' \
-e 's,${UNIT_TESTS:C/\./\\\./g}/,,g' > ${.TARGET}.out || { \