Files
systemd/src/test
Nick Rosbrook 76808638b6 test: skip test_exec_networknamespacepath if netns setup fails
In some environments, such as a LXD container, the netns setup might
fail because ip netns exec fails trying to mount /sys:

 $ systemd-detect-virt
 lxc
 $ ip link add dummy-test-exec type dummy
 $ ip netns add test-execute-netns
 $ ip netns exec test-execute-netns ip link add dummy-test-ns type dummy
 mount of /sys failed: Operation not permitted

If this setup fails, test_exec_networknamespacepath will fail, so check
the exit codes for these setup calls and skip the test if necessary.
2024-01-10 08:59:22 +00:00
..
2023-03-10 09:47:39 +01:00
2023-08-13 10:27:04 +01:00
2023-03-10 09:47:39 +01:00
2023-12-27 11:15:48 +01:00
2024-01-05 11:34:46 +01:00
2023-03-10 09:47:39 +01:00