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 make(1): remove redundant postproces...



details:   https://anonhg.NetBSD.org/src/rev/9abd260e2bd0
branches:  trunk
changeset: 957139:9abd260e2bd0
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Nov 19 21:39:50 2020 +0000

description:
make(1): remove redundant postprocessing for test var-op-shell

The regular expression from the previous line already matches everything
that the removed line could ever match.

diffstat:

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

diffs (17 lines):

diff -r 0cbcf4e14fbc -r 9abd260e2bd0 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Thu Nov 19 21:35:46 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Thu Nov 19 21:39:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.208 2020/11/19 21:35:46 rillig Exp $
+# $NetBSD: Makefile,v 1.209 2020/11/19 21:39:50 rillig Exp $
 #
 # Unit tests for make(1)
 #
@@ -458,7 +458,6 @@
 SED_CMDS.opt-debug-jobs+=      -e 's,^\(.Command: sh\) -q,\1,'
 SED_CMDS.var-op-shell+=        \
        -e 's,^${.SHELL:T}: [ 0-9:]*,,' \
-       -e 's,^${.SHELL:T}: ,,' \
        -e '/command/s,No such.*,not found,'
 SED_CMDS.vardebug+=    -e 's,${.SHELL},</path/to/shell>,'
 SED_CMDS.varmod-subst-regex+= \



Home | Main Index | Thread Index | Old Index