mirror of
https://github.com/systemd/systemd.git
synced 2024-12-05 00:04:02 +08:00
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:
parent
8c89620e80
commit
b03c2d51b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user