Skip to content

Commit

Permalink
stress-ng: use rhts-abort to abort
Browse files Browse the repository at this point in the history
The beakerlib functions like rlDie and rlAssert* report a FAIL or WARN
status, but we want it to be ABORT, so use the rhts-abort command
instead of a beakerlib function.
  • Loading branch information
jbastian authored and veruu committed May 28, 2019
1 parent b4173a0 commit 9ba1ade
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stress/stress-ng/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ rlPhaseStartSetup
# if stress-ng triggers a panic and reboot, then abort the test
if [ $REBOOTCOUNT -ge 1 ] ; then
rlDie "Aborting due to system crash and reboot"
rhts-abort -t recipe
fi

rlLog "Downloading stress-ng from source"
Expand Down

0 comments on commit 9ba1ade

Please sign in to comment.