[systemd-devel] test-journal failure with non-tmpfs /tmp

Zbigniew Jedrzejewski-Szmek zbyszek at in.waw.pl
Thu Jul 19 23:23:28 PDT 2012


Hi,

since f56d5db9199 ('util: rm_rf() refuse cleaning non-memory file
systems, as extra paranoia'), test-journal fails with:

Assertion 'rm_rf(t, false, true, false) >= 0' failed at src/journal/test-journal.c:121, function main(). Aborting.

test-journal-stream shows the same error, but doesn't fail.

This is because I have nothing mounted on /tmp, so the fstatfs call
looks at /.

Would be nice to fix that, since it derails 'make distcheck', enabling
other bugs to creep in :) One way would be to allow test-journal and
test-journal-stream to call rm_rf_internal(..., dangerous=1).

Zbyszek


More information about the systemd-devel mailing list