Module Name:    src
Committed By:   rillig
Date:           Sun Sep 13 09:23:48 UTC 2020

Modified Files:
        src/usr.bin/make/unit-tests: export-variants.mk

Log Message:
make(1): fix explanations in test for exporting variables


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/export-variants.mk

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/export-variants.mk
diff -u src/usr.bin/make/unit-tests/export-variants.mk:1.2 src/usr.bin/make/unit-tests/export-variants.mk:1.3
--- src/usr.bin/make/unit-tests/export-variants.mk:1.2	Sat Aug  8 13:00:07 2020
+++ src/usr.bin/make/unit-tests/export-variants.mk	Sun Sep 13 09:23:48 2020
@@ -1,4 +1,4 @@
-# $NetBSD: export-variants.mk,v 1.2 2020/08/08 13:00:07 rillig Exp $
+# $NetBSD: export-variants.mk,v 1.3 2020/09/13 09:23:48 rillig Exp $
 #
 # Test whether exported variables apply to each variant of running
 # external commands:
@@ -25,15 +25,15 @@ UT_VAR=		value
 
 SHVAR!=	env | grep ^UT_ || true
 .if ${SHVAR} != "UT_VAR=value"
-.warning At this point, no variable should be exported.
+.warning At this point, a single variable should be exported.
 .endif
 
 .if ${:!env | grep ^UT_ || true!} != "UT_VAR=value"
-.warning At this point, some variables should be exported.
+.warning At this point, a single variable should be exported.
 .endif
 
 .if ${env | grep ^UT_ || true:L:sh} != "UT_VAR=value"
-.warning At this point, some variables should be exported.
+.warning At this point, a single variable should be exported.
 .endif
 
 all:

Reply via email to