1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/tests/unit
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
..
libexpr Merge pull request #11131 from rhendric/rhendric/pipe-operators 2024-07-25 16:58:43 +02:00
libexpr-support Deduplicate our many package.nix a bit (#11175) 2024-07-25 03:12:39 +00:00
libfetchers Split tarball-specific logic from GitFileSystemObjectSink 2024-07-29 14:26:25 +02:00
libflake Deduplicate our many package.nix a bit (#11175) 2024-07-25 03:12:39 +00:00
libstore Deduplicate our many package.nix a bit (#11175) 2024-07-25 03:12:39 +00:00
libstore-support Deduplicate our many package.nix a bit (#11175) 2024-07-25 03:12:39 +00:00
libutil tests: define fallback PATH_MAX 2024-07-30 05:34:34 +02:00
libutil-support Deduplicate our many package.nix a bit (#11175) 2024-07-25 03:12:39 +00:00