diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-29 15:57:49 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-30 22:10:05 +0200 |
commit | b03c2d51b22efce526d008793bd628c9dc7d82b3 (patch) | |
tree | 74f3ec5d61b161ca8e26adf93914f82d50b2a971 /test/units | |
parent | TEST-09-REBOOT: Make journalctl grep pattern more specific (diff) | |
download | systemd-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 '')
-rwxr-xr-x | test/units/testsuite-18.sh | 2 |
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 |