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-29 15:57:49 +02:00
parent 8c89620e80
commit b03c2d51b2

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