lix/tests
alois31 f634cf1fc3
tests/libcmd: set HOME to a temporary directory
The libcmd unit test creates files (more specifically, the fetcher cache) in
its home directory. In the single-user sandbox, this leads to the creation of
/homeless-shelter, since this is the default HOME and the root is writable.
Unfortunately, this conflicts with the assumption of the functional tests that
this directory does not exist. Use a different home directory to prevent these
test failures, and thus restore the ability to build inside the single-user
sandbox.

Fixes: lix-project/lix#365
Change-Id: I4df8c53d043234b95a7c0ac45fc5ee89e8d46aff
2024-06-05 20:11:34 +02:00
..
functional nix flake update: add test for multiple inputs from nix#10073 2024-06-03 21:50:33 +00:00
installer chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
nixos libstore/build: use an allowlist approach to syscall filtering 2024-06-05 20:11:34 +02:00
unit tests/libcmd: set HOME to a temporary directory 2024-06-05 20:11:34 +02:00