From: licunlong Date: Fri, 1 Jul 2022 17:41:40 +0000 (+0900) Subject: test: add a testcase for reexecuting with background mount job X-Git-Tag: v252-rc1~368^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=864d1a4f66a6324af03a361291687a6487dee59e;p=thirdparty%2Fsystemd.git test: add a testcase for reexecuting with background mount job --- diff --git a/test/units/testsuite-60.sh b/test/units/testsuite-60.sh index 3c391c8efa6..186a05686ce 100755 --- a/test/units/testsuite-60.sh +++ b/test/units/testsuite-60.sh @@ -53,6 +53,45 @@ EOF } } +test_issue_23796() { + local mount_path mount_mytmpfs + + mount_path="$(command -v mount 2>/dev/null)" + mount_mytmpfs="${mount_path/\/bin/\/sbin}.mytmpfs" + cat >"$mount_mytmpfs" </run/systemd/system/tmp-hoge.mount </failed systemd-analyze log-level debug @@ -111,6 +150,9 @@ timeout 2m bash -c 'while systemctl list-units -t mount tmp-meow* | grep -q tmp- # test that handling of mount start jobs is delayed when /proc/self/mouninfo monitor is rate limited test_issue_20329 +# test for reexecuting with background mount job +test_issue_23796 + systemd-analyze log-level info touch /testok