diff options
Diffstat (limited to 'unit-tests/export-variants.mk')
-rwxr-xr-x | unit-tests/export-variants.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/unit-tests/export-variants.mk b/unit-tests/export-variants.mk index 1e254f1816cf..fdbbccccc6c6 100755 --- a/unit-tests/export-variants.mk +++ b/unit-tests/export-variants.mk @@ -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.4 2020/10/24 08:46:08 rillig Exp $ # # Test whether exported variables apply to each variant of running # external commands: @@ -9,15 +9,15 @@ SHVAR!= env | grep ^UT_ || true .if ${SHVAR} != "" -.warning At this point, no variable should be exported. +. warning At this point, no variable should be exported. .endif .if ${:!env | grep ^UT_ || true!} != "" -.warning At this point, no variable should be exported. +. warning At this point, no variable should be exported. .endif .if ${env | grep ^UT_ || true:L:sh} != "" -.warning At this point, no variable should be exported. +. warning At this point, no variable should be exported. .endif UT_VAR= value @@ -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: |