diff --git a/tests/Regression/no-plugin-exception-during-analyses/runtest.sh b/tests/Regression/no-plugin-exception-during-analyses/runtest.sh index c8434f3..f200f49 100755 --- a/tests/Regression/no-plugin-exception-during-analyses/runtest.sh +++ b/tests/Regression/no-plugin-exception-during-analyses/runtest.sh @@ -45,12 +45,12 @@ rlJournalStart rlRun "rm -f /root/output-${RANDOM_NUMBER}.txt" sleep 10 rlRun "journalctl --since=\"$SINCE\" > journal-after.txt" - STATUS=0 - rlAssertGrep "setroubleshoot.*: SELinux is preventing (/usr/bin/)?passwd" journal-after.txt -E - [[ $? -eq 0 ]] || STATUS=$? - rlAssertNotGrep "setroubleshoot.*: Plugin Exception " journal-after.txt - [[ $? -eq 0 ]] || STATUS=$? - rlRun "[[ $STATUS -eq 0 ]] || cat journal-after.txt" + STATUS=0 + rlAssertGrep "setroubleshoot.*: SELinux is preventing (/usr/bin/)?passwd" journal-after.txt -E + [[ $? -eq 0 ]] || STATUS=$? + rlAssertNotGrep "setroubleshoot.*: Plugin Exception " journal-after.txt + [[ $? -eq 0 ]] || STATUS=$? + rlRun "[[ $STATUS -eq 0 ]] || cat journal-after.txt" rlRun "rm -f journal-after.txt" rlPhaseEnd