Module Name: src Committed By: rillig Date: Sun Nov 15 20:50:46 UTC 2020
Modified Files: src/usr.bin/make/unit-tests: Makefile varname-empty.exp Log Message: make(1): fix typo in test for variable with empty name To generate a diff of this commit: cvs rdiff -u -r1.201 -r1.202 src/usr.bin/make/unit-tests/Makefile cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/varname-empty.exp 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.201 src/usr.bin/make/unit-tests/Makefile:1.202 --- src/usr.bin/make/unit-tests/Makefile:1.201 Sun Nov 15 20:20:58 2020 +++ src/usr.bin/make/unit-tests/Makefile Sun Nov 15 20:50:46 2020 @@ -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 @@ ENV.varname-vpath+= VPATH=varname-vpath. 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= \ Index: src/usr.bin/make/unit-tests/varname-empty.exp diff -u src/usr.bin/make/unit-tests/varname-empty.exp:1.4 src/usr.bin/make/unit-tests/varname-empty.exp:1.5 --- src/usr.bin/make/unit-tests/varname-empty.exp:1.4 Fri Oct 23 17:53:01 2020 +++ src/usr.bin/make/unit-tests/varname-empty.exp Sun Nov 15 20:50:46 2020 @@ -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