1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 00:16:11 -04:00
nix/tests
Yann Hamdaoui f8268cbe16
Fix NAR tests on Linux+ZFS+normalize
A test added recently checks that when trying to deserialize a NAR with
two files that Unicode-normalize to the same result either succeeds on
Linux, or fails with an "already exists" error on Darwin. However,
failing with an "already exists" error can in fact also happen on Linux,
when using ZFS with the proper utf8 and Unicode normalization options
set.

This commit fixes the issue by not assuming the behavior from the
current system, but just by blindly checking that either one of the two
aforementioned possibilities happen, whether on Darwin or on Linux.

Additionally, we check that the Unicode normalization behaviour of
nix-store is the same as the host file system.
2024-09-30 16:29:51 +02:00
..
functional Fix NAR tests on Linux+ZFS+normalize 2024-09-30 16:29:51 +02:00
installer Revert "tests.installer: Load profile with -o unset" 2024-09-18 23:06:01 +02:00
nixos Add a test for builtin:fetchurl cert verification 2024-09-24 16:13:28 +02:00
unit Ensure error messages don't leak private key 2024-09-23 16:36:48 -04:00
repl-completion.nix Add repl completion test 2024-05-27 09:58:49 +02:00