From 686da1c095344b31f3c0a118530c343b1f4c6917 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Sat, 3 Jun 2023 09:49:04 +0200 Subject: [PATCH 1/2] test: ignore missing coverage in TEST-82-SOFTREBOOT As we temporarily mount rootfs read-only there. --- test/TEST-82-SOFTREBOOT/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/TEST-82-SOFTREBOOT/test.sh b/test/TEST-82-SOFTREBOOT/test.sh index 9d88c94fb7..101b250842 100755 --- a/test/TEST-82-SOFTREBOOT/test.sh +++ b/test/TEST-82-SOFTREBOOT/test.sh @@ -3,6 +3,8 @@ set -e TEST_DESCRIPTION="Test Soft-Rebooting" +# We temporarily remount rootfs read-only, so ignore any missing coverage +IGNORE_MISSING_COVERAGE=yes # shellcheck source=test/test-functions . "$TEST_BASE_DIR/test-functions" From d99e099fb45ad71988e22d3a0d081725d1b6e653 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Sat, 3 Jun 2023 13:38:29 +0200 Subject: [PATCH 2/2] test: drop the --recursive=no test As the outcome also depends on availability of the PID namespace, so the test might (and does) unexpectedly pass in some environments. --- test/units/testsuite-74.cgtop.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/test/units/testsuite-74.cgtop.sh b/test/units/testsuite-74.cgtop.sh index 6f08362e7c..cf98279d01 100755 --- a/test/units/testsuite-74.cgtop.sh +++ b/test/units/testsuite-74.cgtop.sh @@ -29,5 +29,4 @@ systemd-cgtop -p -t -c -m -i (! systemd-cgtop --order=foo) (! systemd-cgtop --depth=-1) (! systemd-cgtop --recursive=foo) -(! systemd-cgtop --recursive=no) (! systemd-cgtop --delay=1foo)