From 8b88ac32836e76b76a425dec8d74d2cd64b3e6ee Mon Sep 17 00:00:00 2001 From: Vincent Hardouin Date: Sun, 20 Feb 2022 22:27:55 +0100 Subject: [PATCH] fix: tests runner --- tests/runner.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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