]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-execute.c
test-execute: skip flaky test when we can't unshare namespaces
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 26 Mar 2019 11:01:00 +0000 (12:01 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 26 Mar 2019 17:53:53 +0000 (18:53 +0100)
commit9ca58284756a4e10fd7913741f24ab3e3cc0f161
tree009f7c24ebcaa1151aa7b1362c6c8788c40ef028
parent6aed6a11577b108b9a39f26aeae5e45d98f20c90
test-execute: skip flaky test when we can't unshare namespaces

When running in Fedora "mock", / is a tmpfs and /home is not mounted. The test
assumes that /home will be a tmpfs only and only if we can unshare. Obviously,
this does not hold in this case, because unsharing is not possible, but /home
is still a tmpfs. Let's just skip the test, since it's fully legitimate to
mount either or both of / and /home as tmpfs.
src/test/test-execute.c