From: Dan Streetman Date: Mon, 22 Jul 2019 17:47:47 +0000 (-0400) Subject: test/TEST-18-FAILUREACTION: fix typo to actually run firstphase action X-Git-Tag: v243~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65c5f3d074781e1ec7f2e73149622b9fc6610ae3;p=platform%2Fupstream%2Fsystemd.git test/TEST-18-FAILUREACTION: fix typo to actually run firstphase action The if test for running the firstphase of the test should be negated so the firstphase is actually executed. --- diff --git a/test/TEST-18-FAILUREACTION/testsuite.sh b/test/TEST-18-FAILUREACTION/testsuite.sh index bf9c025..6ab2638 100755 --- a/test/TEST-18-FAILUREACTION/testsuite.sh +++ b/test/TEST-18-FAILUREACTION/testsuite.sh @@ -5,7 +5,7 @@ set -o pipefail systemd-run --wait -p FailureAction=poweroff true ! systemd-run --wait -p SuccessAction=poweroff false -if test -f /firstphase ; then +if ! test -f /firstphase ; then echo OK > /firstphase systemd-run --wait -p SuccessAction=reboot true else