]> git.ipfire.org Git - thirdparty/systemd.git/commit
TEST-46-HOMED: conditionally skip usrquota tests 36884/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 31 Mar 2025 20:50:38 +0000 (22:50 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 1 Apr 2025 12:16:40 +0000 (14:16 +0200)
commitf77a8edfefd47e481fab78e7dd75d5d088d4e5e3
treebdf9912f6d515255731c9d10da6b33b3fa36fd3f
parentcb86668f2cf7bc94ed28147fab7293b4795e6ab4
TEST-46-HOMED: conditionally skip usrquota tests

The tests were failing, because the quota was not enforced.
It seems that we simply don't have privileges to set or display the quota.
The test is running priviled, so this is probably some SELinux:
TEST-46-HOMED.sh[117]: + /usr/lib/systemd/tests/unit-tests/manual/test-display-quota tmpfsquota /dev/shm /tmp
TEST-46-HOMED.sh[1103]: Lacking privileges to query UID quota on /dev/shm: Operation not permitted
TEST-46-HOMED.sh[1103]: Lacking privileges to query UID quota on /tmp: Operation not permitted

If we cannot display the quota, ignore the test results.
In a local run under mkosi, quota is shown and the tests pass. So this is something
about how the testing-farm:fedora-rawhide-x86_64 is configured.
test/units/TEST-46-HOMED.sh