summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-04-29 15:57:49 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-04-30 22:10:05 +0200
commitb03c2d51b22efce526d008793bd628c9dc7d82b3 (patch)
tree74f3ec5d61b161ca8e26adf93914f82d50b2a971 /test
parentTEST-09-REBOOT: Make journalctl grep pattern more specific (diff)
downloadsystemd-b03c2d51b22efce526d008793bd628c9dc7d82b3.tar.xz
systemd-b03c2d51b22efce526d008793bd628c9dc7d82b3.zip
TEST-18-FAILUREACTION: Exit with 123 on success
mkosi expects the virtual machine/container to exit with exit status 123 on success so let's make sure that's the case.
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-18.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/testsuite-18.sh b/test/units/testsuite-18.sh
index 44b792f003..364c20d863 100755
--- a/test/units/testsuite-18.sh
+++ b/test/units/testsuite-18.sh
@@ -11,7 +11,7 @@ if ! test -f /firstphase ; then
systemd-run --wait -p SuccessAction=reboot true
else
echo OK >/testok
- systemd-run --wait -p FailureAction=poweroff false
+ systemd-run --wait -p FailureAction=exit -p FailureActionExitStatus=123 false
fi
sleep infinity