diff options
author | Florian Klink <flokli@flokli.de> | 2024-01-23T13·04+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-01-24T14·00+0000 |
commit | 8e517bc8d04da60f1851aa44000ad7400817e522 (patch) | |
tree | ea3fadeefde78f7860f961f36fb40cf3f8d3870c /tvix/eval/src/tests/nix_tests/notyetpassing | |
parent | 14097aeba660c3ae4286c6dd8b26ffe78bb09ed6 (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/notyetpassing')
-rw-r--r-- | tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.exp | 1 | ||||
-rw-r--r-- | tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.nix | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.exp b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.exp deleted file mode 100644 index 14e24d419005..000000000000 --- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.exp +++ /dev/null @@ -1 +0,0 @@ -"foobar" diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.nix b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.nix deleted file mode 100644 index 4cfec5f553d9..000000000000 --- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.nix +++ /dev/null @@ -1 +0,0 @@ -builtins.getEnv "TEST_VAR" + (if builtins.getEnv "NO_SUCH_VAR" == "" then "bar" else "bla") |