1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 15:32:43 +01:00
nix/tests
Robert Hensing 336fdaa119 test: Avoid regressing accidental use of weakly_canonical instead of makeParentCanonical
I'd messed up a rebase in my previous iteration, causing `weakly_canonical` to reappear,
but not trigger a test failure.

These two functions behave similarly when the argument is a path that points to a broken
symlink. `weakly_canonical` would not resolve it because the target doesn't exist, and
`makeParentCanonical` would not resolve it, because it never resolves the final path
element.
This new test case now also tests a valid symlink, "differentiating" the two.

(cherry picked from commit 4c74d679b6)
2025-01-07 06:03:58 +00:00
..
functional test: Avoid regressing accidental use of weakly_canonical instead of makeParentCanonical 2025-01-07 06:03:58 +00:00
installer Revert "tests.installer: Load profile with -o unset" 2024-09-18 23:06:01 +02:00
nixos test: Add hydraJobs.tests.functional_symlinked-home 2025-01-07 06:03:57 +00:00
repl-completion.nix Add repl completion test 2024-05-27 09:58:49 +02:00