Module Name: src
Committed By: sjg
Date: Sat Aug 22 15:25:50 UTC 2020
Modified Files:
src/usr.bin/make/unit-tests: Makefile
Log Message:
Supress /bin/sh: in error for sh-dots
To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 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.107 src/usr.bin/make/unit-tests/Makefile:1.108
--- src/usr.bin/make/unit-tests/Makefile:1.107 Sat Aug 22 12:51:11 2020
+++ src/usr.bin/make/unit-tests/Makefile Sat Aug 22 15:25:50 2020
@@ -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.vardebug= -k -dv FROM_CMDLINE=
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:,'