From 94f6ad9b9bc3af1ea71f71f1321111bc12f20439 Mon Sep 17 00:00:00 2001 From: Ken Domino Date: Sun, 6 Oct 2024 13:18:46 -0400 Subject: [PATCH] Update test. --- _tests/all-tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_tests/all-tests.sh b/_tests/all-tests.sh index e6e01129d..158413d62 100644 --- a/_tests/all-tests.sh +++ b/_tests/all-tests.sh @@ -10,13 +10,17 @@ echo Tests in Trash: $tests failed=() for i in $tests do - bash $i + dir=`dirname $i` + fn=`basename $i` + pushd $dir + bash $fn result=$? if [ "$result" != 0 ] then echo Failed $i failed+=( $i ) fi + popd done if (( ${#failed[@]} != 0 )) then