summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-02-05 13:52:44 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-02-05 13:52:44 -0500
commitdab66643f54d0f79c212db9e68d8545b98a2d653 (patch)
treeb4d5925a16edbe82c5641df338261a22d784fa5a /tests
parentef8e954d8b6910fc2ea08baa8dbe3fbfb6ad7c01 (diff)
downloadbfs-dab66643f54d0f79c212db9e68d8545b98a2d653.tar.xz
tests: Fix --stop
Diffstat (limited to 'tests')
-rw-r--r--tests/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 0b975b9..ccd2ac1 100644
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -203,7 +203,7 @@ run_tests() {
for TEST in "${TEST_CASES[@]}"; do
wait_ready
- if (($? && STOP)); then
+ if ((STOP && failed > 0)); then
break
fi