about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-01-23T13·04+0200
committerflokli <flokli@flokli.de>2024-01-24T14·00+0000
commit8e517bc8d04da60f1851aa44000ad7400817e522 (patch)
treeea3fadeefde78f7860f961f36fb40cf3f8d3870c /tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp
parent14097aeba660c3ae4286c6dd8b26ffe78bb09ed6 (diff)
fix(tvix/eval/tests): fix eval-okay-getenv r/7445
This relies on TEST_VAR=foo being set to "foo".

Nix does this in tests/functional/lang.sh, we do it in the test suite.

Change-Id: I7ffa9ed27124530b7758aeadf07c79477656f34f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10683
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp')
-rw-r--r--tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp b/tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp
new file mode 100644
index 000000000000..14e24d419005
--- /dev/null
+++ b/tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp
@@ -0,0 +1 @@
+"foobar"