]>
git.ipfire.org Git - thirdparty/systemd.git/blob - test/units/testsuite-18.sh
2 # SPDX-License-Identifier: LGPL-2.1-or-later
6 systemd-run
--wait -p FailureAction
=poweroff true
7 (! systemd-run
--wait -p SuccessAction
=poweroff false
)
9 if ! test -f /firstphase
; then
11 systemd-run
--wait -p SuccessAction
=reboot true
14 systemd-run
--wait -p FailureAction
=exit -p FailureActionExitStatus
=123 false