1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-25 03:39:36 +01:00
nix/tests
Robert Hensing caeec0404e 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 07:20:55 +01:00
..
functional test: Avoid regressing accidental use of weakly_canonical instead of makeParentCanonical 2025-01-07 07:20:55 +01:00
installer tests: test with conflicting profile links 2023-12-30 06:24:06 +00:00
nixos test: Add hydraJobs.tests.functional_symlinked-home 2025-01-07 07:20:55 +01:00
unit Ensure error messages don't leak private key 2024-09-24 06:39:03 +02:00
repl-completion.nix Add repl completion test 2024-05-27 09:58:49 +02:00