From 0d9eabcaacf25816898116199683740e0e659911 Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 19 Oct 2022 19:22:02 +0200 Subject: fix(tvix/eval): eval-okay-pathexists test can be executed Change-Id: Ibdcaa165024584370ce9578e67985a3526e44f77 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7044 Autosubmit: sterni Tested-by: BuildkiteCI Reviewed-by: tazjin --- tvix/eval/src/tests/nix_tests/eval-okay-pathexists.exp | 1 + tvix/eval/src/tests/nix_tests/eval-okay-pathexists.nix | 5 +++++ tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.exp | 1 - tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.nix | 5 ----- 4 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 tvix/eval/src/tests/nix_tests/eval-okay-pathexists.exp create mode 100644 tvix/eval/src/tests/nix_tests/eval-okay-pathexists.nix delete mode 100644 tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.exp delete mode 100644 tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.nix (limited to 'tvix/eval/src/tests') diff --git a/tvix/eval/src/tests/nix_tests/eval-okay-pathexists.exp b/tvix/eval/src/tests/nix_tests/eval-okay-pathexists.exp new file mode 100644 index 000000000000..27ba77ddaf61 --- /dev/null +++ b/tvix/eval/src/tests/nix_tests/eval-okay-pathexists.exp @@ -0,0 +1 @@ +true diff --git a/tvix/eval/src/tests/nix_tests/eval-okay-pathexists.nix b/tvix/eval/src/tests/nix_tests/eval-okay-pathexists.nix new file mode 100644 index 000000000000..50c28ee0cd30 --- /dev/null +++ b/tvix/eval/src/tests/nix_tests/eval-okay-pathexists.nix @@ -0,0 +1,5 @@ +builtins.pathExists (builtins.toPath ./lib.nix) +&& builtins.pathExists (builtins.toPath (builtins.toString ./lib.nix)) +&& !builtins.pathExists (builtins.toPath (builtins.toString ./bla.nix)) +&& builtins.pathExists ./lib.nix +&& !builtins.pathExists ./bla.nix diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.exp b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.exp deleted file mode 100644 index 27ba77ddaf61..000000000000 --- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.exp +++ /dev/null @@ -1 +0,0 @@ -true diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.nix b/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.nix deleted file mode 100644 index 50c28ee0cd30..000000000000 --- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-pathexists.nix +++ /dev/null @@ -1,5 +0,0 @@ -builtins.pathExists (builtins.toPath ./lib.nix) -&& builtins.pathExists (builtins.toPath (builtins.toString ./lib.nix)) -&& !builtins.pathExists (builtins.toPath (builtins.toString ./bla.nix)) -&& builtins.pathExists ./lib.nix -&& !builtins.pathExists ./bla.nix -- cgit 1.4.1