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.
This commit is contained in:
Daan De Meyer
2024-04-30 22:10:05 +02:00
parent 8c89620e80
commit b03c2d51b2
+1 -1
View File
@@ -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