lix/tests/unit
Alois Wohlschlager 3c0434999e 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: https://git.lix.systems/lix-project/lix/issues/365
Change-Id: I4df8c53d043234b95a7c0ac45fc5ee89e8d46aff
2024-06-12 22:13:55 +00:00
..
libcmd util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
libexpr remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
libexpr-support/tests remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
libstore Revert "tests/filetransfer: reënable on Darwin" 2024-05-30 21:38:32 +00:00
libstore-support/tests util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
libutil util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
libutil-support/tests util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
meson.build tests/libcmd: set HOME to a temporary directory 2024-06-12 22:13:55 +00:00