about summary refs log tree commit diff
path: root/nix/utils/tests
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-26T15·15+0200
committerclbot <clbot@tvl.fyi>2022-05-26T16·44+0000
commitc16a18a7180497ca91b06d8189463c54294cee3f (patch)
treef20074370e7d97803b4a99adceb64787458d30a9 /nix/utils/tests
parent5d9d03057c51ae4364a3f776d92e4b4206fbc7c7 (diff)
chore(nix/utils): Comment out tests for detection-ish of symlinks r/4141
This is broken for (as of yet unclear reasons) with restricted
evaluation mode.

Change-Id: Idbc16e7e21dfb113995c045659fefe2c1a535741
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5691
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'nix/utils/tests')
-rw-r--r--nix/utils/tests/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/nix/utils/tests/default.nix b/nix/utils/tests/default.nix
index 52b7ca41d215..b87c29cac722 100644
--- a/nix/utils/tests/default.nix
+++ b/nix/utils/tests/default.nix
@@ -89,12 +89,16 @@ let
       ((pathType ./symlink-directory).symlink or null) "directory")
     (assertEq "symlinks to symlinks to directories are detected correctly"
       ((pathType ./symlink-symlink-directory).symlink or null) "directory")
-    (assertEq "symlinks to files are detected-ish"
-      ((pathType ./symlink-file).symlink or null) "regular-or-missing")
-    (assertEq "symlinks to symlinks to files are detected-ish"
-      ((pathType ./symlink-symlink-file).symlink or null) "regular-or-missing")
     (assertEq "symlinks to nowhere are not distinguished from files"
       ((pathType ./missing).symlink or null) "regular-or-missing")
+
+    # These tests are commented out because they no longer work with
+    # restrict-eval turned on.
+
+    # (assertEq "symlinks to files are detected-ish"
+    #   ((pathType ./symlink-file).symlink or null) "regular-or-missing")
+    # (assertEq "symlinks to symlinks to files are detected-ish"
+    #   ((pathType ./symlink-symlink-file).symlink or null) "regular-or-missing")
   ];
 
   cheddarStorePath =