mirror of
https://github.com/flatpak/flatpak.git
synced 2026-11-06 05:43:35 -05:00
test-history: Skip test if we cannot read from the Journal
In some OS configurations, unprivileged users cannot read back messages that they have written to the system log. This test cannot succeed if that happens, so skip it. In particular, if the Journal is only in-memory rather than persisted to disk (as it was by default in Debian 10), then there are no per-user Journal files, only a single system-wide Journal which requires privileges to read. Signed-off-by: Simon McVittie <smcv@collabora.com> Fixes:8b05f6b3"Add a unit test for the history command" (cherry picked from commit0deb80efa8)
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f