nix-super/tests/unit/libutil
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
..
data/git Put back files for now 2024-07-02 09:26:22 -04:00
.version Put back files for now 2024-07-02 09:26:22 -04:00
args.cc Put back files for now 2024-07-02 09:26:22 -04:00
build-utils-meson Put back files for now 2024-07-02 09:26:22 -04:00
canon-path.cc Put back files for now 2024-07-02 09:26:22 -04:00
chunked-vector.cc Put back files for now 2024-07-02 09:26:22 -04:00
closure.cc Put back files for now 2024-07-02 09:26:22 -04:00
compression.cc Put back files for now 2024-07-02 09:26:22 -04:00
config.cc Put back files for now 2024-07-02 09:26:22 -04:00
file-content-address.cc Rename Recursive -> NixArchive 2024-06-24 10:24:06 -04:00
git.cc Remove comparator.hh and switch to <=> in a bunch of places 2024-07-12 14:54:18 -04:00
hash.cc Put back files for now 2024-07-02 09:26:22 -04:00
hilite.cc Put back files for now 2024-07-02 09:26:22 -04:00
json-utils.cc Put back files for now 2024-07-02 09:26:22 -04:00
local.mk Put unit tests back in old build system for now 2024-07-02 09:26:22 -04:00
logging.cc Put back files for now 2024-07-02 09:26:22 -04:00
lru-cache.cc Put back files for now 2024-07-02 09:26:22 -04:00
meson.build Add missing threads deps 2024-07-22 11:46:54 -04:00
nix_api_util.cc Put back files for now 2024-07-02 09:26:22 -04:00
package.nix Deduplicate our many package.nix a bit (#11175) 2024-07-25 03:12:39 +00:00
pool.cc Put back files for now 2024-07-02 09:26:22 -04:00
position.cc getSnippetUpTo: Return optional 2024-07-15 20:10:45 +02:00
references.cc Refactor: rename C++ concatStringsSep -> dropEmptyInitThenConcatStringsSep 2024-07-13 03:05:50 +02:00
spawn.cc Put back files for now 2024-07-02 09:26:22 -04:00
strings.cc Add fresh concatStringsSep without bug 2024-07-13 03:06:24 +02:00
suggestions.cc Put back files for now 2024-07-02 09:26:22 -04:00
tests.cc tests: define fallback PATH_MAX 2024-07-30 05:34:34 +02:00
url.cc Put back files for now 2024-07-02 09:26:22 -04:00
xml-writer.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00