lib/tests/debug.sh
0 → 100755
+80
−0
+2
−29
Loading
The throwTestFailures tests in misc.nix produce confusing trace output that looks like test failures even when tests pass. This commit moves these tests to a new lib/tests/debug.sh script, following the pattern from modules.sh, sources.sh, and filesystem.sh. The confusing trace output does not appear in any logs anymore. Example of the confusing log: trace: FAIL "testDerivation": Expected: <derivation a> Result: <derivation b> evaluation warning: Using `lib.generators.toPlist` without `escape = true` is deprecated [ ]