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 Supress /bin/sh: in error for sh-dots



details:   https://anonhg.NetBSD.org/src/rev/0921a4cbcb6b
branches:  trunk
changeset: 975151:0921a4cbcb6b
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sat Aug 22 15:25:50 2020 +0000

description:
Supress /bin/sh: in error for sh-dots

diffstat:

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

diffs (17 lines):

diff -r 5fc01b218a74 -r 0921a4cbcb6b usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Sat Aug 22 15:17:09 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Sat Aug 22 15:25:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.107 2020/08/22 12:51:11 rillig Exp $
+# $NetBSD: Makefile,v 1.108 2020/08/22 15:25:50 sjg Exp $
 #
 # Unit tests for make(1)
 #
@@ -323,6 +323,7 @@
 FLAGS.varmod-match-escape= -dv
 
 # Some tests need extra post-processing.
+SED_CMDS.sh-dots+=     -e '/not found/s,^.*sh: ,,'
 SED_CMDS.varmod-subst-regex+= \
                        -e 's,\(Regex compilation error:\).*,\1 (details omitted),'
 SED_CMDS.varmod-edge+= -e 's, line [0-9]*:, line omitted:,'



Home | Main Index | Thread Index | Old Index