Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests Stricter sed expression for matching...



details:   https://anonhg.NetBSD.org/src/rev/790ef114cf7e
branches:  trunk
changeset: 331717:790ef114cf7e
user:      apb <apb%NetBSD.org@localhost>
date:      Thu Aug 21 13:31:52 2014 +0000

description:
Stricter sed expression for matching an optional PID in square brackets.

diffstat:

 usr.bin/make/unit-tests/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 1c11e124410f -r 790ef114cf7e usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Thu Aug 21 12:42:03 2014 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Thu Aug 21 13:31:52 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2014/08/21 12:42:03 apb Exp $
+# $NetBSD: Makefile,v 1.41 2014/08/21 13:31:52 apb Exp $
 #
 # Unit tests for make(1)
 # The main targets are:
@@ -80,8 +80,8 @@
 # so the results can be compared.
 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:,' \
+       cd ${.OBJDIR} && ${TEST_MAKE} -f ${MAKEFILE} 2>&1 | \
+       ${TOOL_SED} -e 's,^${TEST_MAKE:T:C/\./\\\./g}[][0-9]*:,make:,' \
        -e 's,${TEST_MAKE:C/\./\\\./g},make,' \
        -e '/stopped/s, /.*, unit-tests,' \
        -e 's,${.CURDIR:C/\./\\\./g}/,,g' \



Home | Main Index | Thread Index | Old Index