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

Lennart Poettering lennart at poettering.net
Thu Sep 13 00:56:24 PDT 2012


On Fri, 20.07.12 08:23, Zbigniew Jedrzejewski-Szmek (zbyszek at in.waw.pl) wrote:

> 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).

Hmm, is this still an issue? Found this in my inbox and I wonder if we
fixed it by now?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list