diff --git a/tests/runner.sh b/tests/runner.sh index 57100d8..ad2be04 100644 --- a/tests/runner.sh +++ b/tests/runner.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -while IFS= read -r -d '' file; do +find ./* -maxdepth 0 -type f -name "*.sh" -not -path "./runner.sh" -print0 | while IFS= read -r -d '' file; do bash "$file" || echo "$file" exit 1 -done < <(find ./* -maxdepth 0 -type f -name "*.sh" -not -path "./runner.sh" -print0) +done