summaryrefslogtreecommitdiff
path: root/usr.bin/make/unit-tests
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-02-09 20:52:06 +0000
committerrillig <rillig@NetBSD.org>2022-02-09 20:52:06 +0000
commitdee2a5add0f0cf196c7cc2d10e4d4e55e6d72a69 (patch)
tree9c01691c4d41a0ef34fcac413d43b80f3dee2779 /usr.bin/make/unit-tests
parent8ffc5d07deb270e1f1579b32703f121273f04ab5 (diff)
make: prefix the warning about read-only .OBJDIR with a colon
For consistency with the other warnings.
Diffstat (limited to 'usr.bin/make/unit-tests')
-rw-r--r--usr.bin/make/unit-tests/Makefile3
-rw-r--r--usr.bin/make/unit-tests/objdir-writable.exp2
2 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/make/unit-tests/Makefile b/usr.bin/make/unit-tests/Makefile
index 46c8a72ed58..9c23e531488 100644
--- a/usr.bin/make/unit-tests/Makefile
+++ b/usr.bin/make/unit-tests/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.304 2022/02/09 18:54:19 rillig Exp $
+# $NetBSD: Makefile,v 1.305 2022/02/09 20:52:06 rillig Exp $
#
# Unit tests for make(1)
#
@@ -688,7 +688,6 @@ LIMIT_RESOURCES?= :
# always pretend .MAKE was called 'make'
_SED_CMDS+= -e 's,^${TEST_MAKE:T:S,.,\\.,g}[][0-9]*:,make:,'
_SED_CMDS+= -e 's,${TEST_MAKE:S,.,\\.,g},make,'
-_SED_CMDS+= -e 's,${TEST_MAKE:T:S,.,\\.,g}[][0-9]* warning,make warning,'
_SED_CMDS+= -e 's,^usage: ${TEST_MAKE:T:S,.,\\.,g} ,usage: make ,'
# replace anything after 'stopped in' with unit-tests
_SED_CMDS+= -e '/stopped/s, /.*, unit-tests,'
diff --git a/usr.bin/make/unit-tests/objdir-writable.exp b/usr.bin/make/unit-tests/objdir-writable.exp
index 9563b8b0701..dc5cd706349 100644
--- a/usr.bin/make/unit-tests/objdir-writable.exp
+++ b/usr.bin/make/unit-tests/objdir-writable.exp
@@ -1,4 +1,4 @@
-make warning: <tmpdir>/roobj: Permission denied.
+make: warning: <tmpdir>/roobj: Permission denied.
<tmpdir>
<tmpdir>/roobj
<tmpdir>/roobj