lix/tests
Artemis Tosini c03de0df62 gc: Find roots using libproc on Darwin
Previously, the garbage collector found runtime roots on Darwin by
shelling out to `lsof -n -w -F n` then parsing the result.
However, this requires an lsof binary and can be extremely slow.

The official Apple lsof returns in a reasonable amount of time,
about 250ms in my tests, but the lsof packaged in nixpkgs is quite slow,
taking about 40 seconds to run the command.

Using libproc directly is about the same speed as Apple lsof,
and allows us to reënable several tests that were disabled on Darwin.

Change-Id: Ifa0adda7984e13c15535693baba835aae79a3577
2024-04-25 23:24:21 -04:00
..
functional gc: Find roots using libproc on Darwin 2024-04-25 23:24:21 -04:00
installer test: Make the installer work on old rhel versions 2023-03-31 15:29:50 +02:00
nixos tests: add error messages to the asserts in tarball flakes test 2024-04-22 16:13:36 -06:00
unit abort with a descriptive message on bad HintFmt usage 2024-04-15 23:09:16 +00:00