Crafter.Build/tests/HostFlatpak
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 0602e282b2
test: HostFlatpak asks about projects in a directory of its own
In the Flatpak, HostFlatpak makes two projects in the sandbox's /tmp,
one there and one through a link in the fixture's build/ that leads
there, and asks whether the host sees them. They had fixed names,
/tmp/crafter-build-host-flatpak and crafter-build-host-flatpak-linked
beside it, and every sandbox of the app has the same /tmp, so two runs
at once asked about, and removed, the same projects. Both are now in a
directory the test makes there, a PrivateDirectory, which the link
leads to, and which goes afterwards with the link, or, when the test is
killed, when a later one is made, once it has not changed for a minute.
The test still names /tmp rather than the TMPDIR it is given, since the
sandbox's /tmp is what it asks the host about, and AGENTS.template.md's
entry for it says it makes a directory of its own there now.
2026-11-28 11:05:51 +01:00
..
fixture feat: install and bundle a Flatpak through the host's flatpak 2026-11-09 01:55:31 +01:00
main.cpp test: HostFlatpak asks about projects in a directory of its own 2026-11-28 11:05:51 +01:00