From 65c5f3d074781e1ec7f2e73149622b9fc6610ae3 Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Mon, 22 Jul 2019 13:47:47 -0400 Subject: [PATCH] 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. --- test/TEST-18-FAILUREACTION/testsuite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TEST-18-FAILUREACTION/testsuite.sh b/test/TEST-18-FAILUREACTION/testsuite.sh index bf9c0257667..6ab2638d8ce 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 -- 2.39.2