aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/directive-unexport-env.exp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/unit-tests/directive-unexport-env.exp')
-rw-r--r--contrib/bmake/unit-tests/directive-unexport-env.exp19
1 files changed, 18 insertions, 1 deletions
diff --git a/contrib/bmake/unit-tests/directive-unexport-env.exp b/contrib/bmake/unit-tests/directive-unexport-env.exp
index 39a9383953dd..677596ea4aa8 100644
--- a/contrib/bmake/unit-tests/directive-unexport-env.exp
+++ b/contrib/bmake/unit-tests/directive-unexport-env.exp
@@ -1 +1,18 @@
-exit status 0
+make: "directive-unexport-env.mk" line 13: Unknown directive "unexport-en"
+make: "directive-unexport-env.mk" line 15: Unknown directive "unexport-environment"
+Global:UT_EXPORTED = value
+Global:UT_UNEXPORTED = value
+Global:.MAKE.EXPORTED = UT_EXPORTED
+make: "directive-unexport-env.mk" line 21: The directive .unexport-env does not take arguments
+Var_Parse: ${.MAKE.EXPORTED:O:u} with VARE_WANTRES
+Applying ${.MAKE.EXPORTED:O} to "UT_EXPORTED" (VARE_WANTRES, none, none)
+Result of ${.MAKE.EXPORTED:O} is "UT_EXPORTED" (VARE_WANTRES, none, none)
+Applying ${.MAKE.EXPORTED:u} to "UT_EXPORTED" (VARE_WANTRES, none, none)
+Result of ${.MAKE.EXPORTED:u} is "UT_EXPORTED" (VARE_WANTRES, none, none)
+Unexporting "UT_EXPORTED"
+Global:delete .MAKE.EXPORTED
+Global:.MAKEFLAGS = -r -k -d v -d
+Global:.MAKEFLAGS = -r -k -d v -d 0
+make: Fatal errors encountered -- cannot continue
+make: stopped in unit-tests
+exit status 1