diff options
author | Alois Wohlschlager <alois1@gmx-topmail.de> | 2024-06-01 11:59:16 +0200 |
---|---|---|
committer | alois31 <alois1@gmx-topmail.de> | 2024-06-12 22:13:55 +0000 |
commit | 3c0434999e28f34c047b51fa3768d68ed88fb0ed (patch) | |
tree | a7da27ba6980309ab132adb5941816fc0d3f1f6f /src/libstore/outputs-spec.hh | |
parent | f46194faa2fc9c78250702c8eb7a4b756e0bd944 (diff) |
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
Diffstat (limited to 'src/libstore/outputs-spec.hh')
0 files changed, 0 insertions, 0 deletions