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 Always use -r -f /dev/null when not ...
details: https://anonhg.NetBSD.org/src/rev/47b70de041e3
branches: trunk
changeset: 957117:47b70de041e3
user: sjg <sjg%NetBSD.org@localhost>
date: Wed Nov 18 01:06:59 2020 +0000
description:
Always use -r -f /dev/null when not intending to read a makefile
diffstat:
usr.bin/make/unit-tests/opt.exp | 2 +-
usr.bin/make/unit-tests/opt.mk | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7407bb51974f -r 47b70de041e3 usr.bin/make/unit-tests/opt.exp
--- a/usr.bin/make/unit-tests/opt.exp Tue Nov 17 20:49:12 2020 +0000
+++ b/usr.bin/make/unit-tests/opt.exp Wed Nov 18 01:06:59 2020 +0000
@@ -1,4 +1,4 @@
-make -V MAKEFLAGS
+make -r -f /dev/null -V MAKEFLAGS
-r -k -d 0
make -:
diff -r 7407bb51974f -r 47b70de041e3 usr.bin/make/unit-tests/opt.mk
--- a/usr.bin/make/unit-tests/opt.mk Tue Nov 17 20:49:12 2020 +0000
+++ b/usr.bin/make/unit-tests/opt.mk Wed Nov 18 01:06:59 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: opt.mk,v 1.5 2020/11/15 06:19:34 rillig Exp $
+# $NetBSD: opt.mk,v 1.6 2020/11/18 01:06:59 sjg Exp $
#
# Tests for the command line options.
@@ -8,7 +8,7 @@
# The options from the top-level make are passed to the sub-makes via
# the environment variable MAKEFLAGS. This is where the " -r -k -d 0"
# comes from. See MainParseArg.
- ${MAKE} -V MAKEFLAGS
+ ${MAKE} -r -f /dev/null -V MAKEFLAGS
@echo
# Just to see how the custom argument parsing code reacts to a syntax
Home |
Main Index |
Thread Index |
Old Index