aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-14 11:07:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-12-14 11:07:05 +0300
commit7eef7e58c2aed8412deeb32607cf1c5149712fae (patch)
tree433613e758dc7b3ec8cecd74b0aaaf6f5bcece08
parentca6a61f432f3ff0257e868bed36a58540623ab49 (diff)
Make export script builtin tests more robust
-rw-r--r--tests/test/script/runner/export.testscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test/script/runner/export.testscript b/tests/test/script/runner/export.testscript
index f965005..6ed7417 100644
--- a/tests/test/script/runner/export.testscript
+++ b/tests/test/script/runner/export.testscript
@@ -3,6 +3,11 @@
.include ../common.testscript
+# Make sure that the foo variable, which may potentially be set in the build2
+# environment, doesn't affect the tests.
+#
++export --unset foo
+
: group
:
{