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): fix typo in test for variab...



details:   https://anonhg.NetBSD.org/src/rev/984218a4fd53
branches:  trunk
changeset: 946090:984218a4fd53
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Nov 15 20:50:46 2020 +0000

description:
make(1): fix typo in test for variable with empty name

diffstat:

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

diffs (28 lines):

diff -r 578a853730c8 -r 984218a4fd53 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Sun Nov 15 20:49:20 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Sun Nov 15 20:50:46 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.201 2020/11/15 20:20:58 rillig Exp $
+# $NetBSD: Makefile,v 1.202 2020/11/15 20:50:46 rillig Exp $
 #
 # Unit tests for make(1)
 #
@@ -423,7 +423,7 @@
 FLAGS.cond-func-make=  via-cmdline
 FLAGS.directive-ifmake=        first second
 FLAGS.doterror=                # none, especially not -k
-FLAGS.varname-empty=   -dv '$${:U}=cmdline-u' '=cmline-plain'
+FLAGS.varname-empty=   -dv '$${:U}=cmdline-u' '=cmdline-plain'
 
 # Some tests need extra postprocessing.
 SED_CMDS.job-output-long-lines= \
diff -r 578a853730c8 -r 984218a4fd53 usr.bin/make/unit-tests/varname-empty.exp
--- a/usr.bin/make/unit-tests/varname-empty.exp Sun Nov 15 20:49:20 2020 +0000
+++ b/usr.bin/make/unit-tests/varname-empty.exp Sun Nov 15 20:50:46 2020 +0000
@@ -1,5 +1,5 @@
 Var_Set("${:U}", "cmdline-u", ...) name expands to empty string - ignored
-Var_Set("", "cmline-plain", ...) name expands to empty string - ignored
+Var_Set("", "cmdline-plain", ...) name expands to empty string - ignored
 Var_Set("", "default", ...) name expands to empty string - ignored
 Var_Set("", "assigned", ...) name expands to empty string - ignored
 Var_Set("", "appended", ...) name expands to empty string - ignored



Home | Main Index | Thread Index | Old Index