From 28a2d27650c64afbe1e559a9236531472be6215b Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 12 Dec 2023 12:43:36 +0100 Subject: [PATCH] test: "never" is not a valid value for Restart= [ 154.140565] testsuite-07.sh[1014]: + systemctl start badbin_assert.socket [ 154.738606] testsuite-07.sh[1014]: + socat - ABSTRACT-CONNECT:badbin_assert.socket [ 154.768418] systemd[1]: Cannot find unit for notify message of PID 1021, ignoring. [ 154.812357] systemd[1]: /run/systemd/system/badbin_assert.service:3: Failed to parse service restart specifier, ignoring: never [ 155.347350] testsuite-07.sh[1014]: + timeout 10 sh -c 'while systemctl is-active badbin_assert.service; do sleep .5; done' [ 155.669695] (badbin)[1045]: badbin_assert.service: Failed to execute /tmp/badbin: Exec format error [ 155.676596] systemd[1]: badbin_assert.service: Failed with result 'exit-code'. [ 156.081953] testsuite-07.sh[1051]: failed [ 156.132018] testsuite-07.sh[1054]: ++ systemctl show -P ExecMainStatus badbin_assert.service [ 156.326583] (badbin)[1050]: badbin_assert.service: Failed to execute /tmp/badbin: Exec format error [ 156.343566] systemd[1]: badbin_assert.service: Failed with result 'exit-code'. [ 156.904658] (badbin)[1055]: badbin_assert.service: Failed to execute /tmp/badbin: Exec format error [ 156.913709] systemd[1]: badbin_assert.service: Failed with result 'exit-code'. [ 157.066900] testsuite-07.sh[1014]: + [[ 0 == 203 ]] [ 157.081588] testsuite-07.sh[618]: + echo 'Subtest /usr/lib/systemd/tests/testdata/units/testsuite-07.issue-30412.sh failed' Follow-up for 1eeaa93de36. --- test/units/testsuite-07.issue-30412.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/testsuite-07.issue-30412.sh b/test/units/testsuite-07.issue-30412.sh index 333b95f9bb1..61801c543af 100755 --- a/test/units/testsuite-07.issue-30412.sh +++ b/test/units/testsuite-07.issue-30412.sh @@ -14,7 +14,7 @@ chmod 744 /tmp/badbin cat >/run/systemd/system/badbin_assert.service </run/systemd/system/badbin_assert.socket <