mirror of
https://github.com/flatpak/flatpak.git
synced 2026-09-16 16:31:33 -04:00
The tests assumed that a system installation always uses the XDG cache location unless running as root. However, Flatpak only uses that cache location when the system helper is available at both compile and run time. [1] Builds configured with -Dsystem_helper=disabled instead use the repo-local cache directory [2], causing the tests to look for cached summaries in the wrong location and fail. [1]: https://github.com/flatpak/flatpak/blob/96ad6825f3e7115eb95abeba55600b2a39b71178/common/flatpak-dir.c#L4853-L4862 [2]: https://github.com/flatpak/flatpak/blob/96ad6825f3e7115eb95abeba55600b2a39b71178/common/flatpak-dir.c#L4942-L4943