1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/tests
Pino Toscano a1ccf60613 tests: define fallback PATH_MAX
Few filesystem-related tests rely on PATH_MAX for buffers, and PATH_MAX
is optional in POSIX (and not available on the Hurd). To make them build
and pass, provide a fallback definition of PATH_MAX in case not
available.

Ideally speaking, the tests ought to not unconditionally rely on
PATH_MAX, do alternative strategies (e.g. dynamically allocate buffers,
expand them as needed, etc); OTOH this is test code, so it would be more
work that what it would be worth, so IMHO the define fallback is good
enough.
2024-07-30 05:34:34 +02:00
..
functional Merge pull request #11195 from DeterminateSystems/tarball-roots 2024-07-29 16:58:59 +02:00
installer tests: test with conflicting profile links 2023-12-30 06:24:06 +00:00
nixos tests/nixos/remote-builds: Wait for multi-user 2024-07-27 13:08:30 +02:00
unit tests: define fallback PATH_MAX 2024-07-30 05:34:34 +02:00
repl-completion.nix Add repl completion test 2024-05-27 09:58:49 +02:00