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 explanations in test fo...
details: https://anonhg.NetBSD.org/src/rev/c06e5039d0dd
branches: trunk
changeset: 943921:c06e5039d0dd
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Sep 13 09:23:48 2020 +0000
description:
make(1): fix explanations in test for exporting variables
diffstat:
usr.bin/make/unit-tests/export-variants.mk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 8fef0a6fbc38 -r c06e5039d0dd usr.bin/make/unit-tests/export-variants.mk
--- a/usr.bin/make/unit-tests/export-variants.mk Sun Sep 13 09:23:14 2020 +0000
+++ b/usr.bin/make/unit-tests/export-variants.mk Sun Sep 13 09:23:48 2020 +0000
@@ -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 @@
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:
Home |
Main Index |
Thread Index |
Old Index