aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/scripts/zfs-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/openzfs/scripts/zfs-tests.sh')
-rwxr-xr-xsys/contrib/openzfs/scripts/zfs-tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/contrib/openzfs/scripts/zfs-tests.sh b/sys/contrib/openzfs/scripts/zfs-tests.sh
index 5a0a1a609448..09a15bafc27e 100755
--- a/sys/contrib/openzfs/scripts/zfs-tests.sh
+++ b/sys/contrib/openzfs/scripts/zfs-tests.sh
@@ -797,6 +797,10 @@ msg "${TEST_RUNNER}" \
2>&1; echo $? >"$REPORT_FILE"; } | tee "$RESULTS_FILE"
read -r RUNRESULT <"$REPORT_FILE"
+if [[ "$RUNRESULT" -eq "255" ]] ; then
+ fail "$TEST_RUNNER failed, test aborted."
+fi
+
#
# Analyze the results.
#