From 9b680fadec01789c1fb1317b939c15d186a572c9 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 12 Oct 2024 10:21:52 +0200 Subject: Added shelltest Will add more tests when I feel like it --- test/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test.sh b/test/test.sh index a675286..8b5db35 100755 --- a/test/test.sh +++ b/test/test.sh @@ -10,7 +10,7 @@ for t in test/*; do if [ -n "$re" ] && !(echo "$t" | grep -q "$re"); then continue fi - + # Verify if $t is a directory and if its name starts with three digits if [ -d "$t" ] && basename "$t" | grep -Eq '^[0-9]{3}'; then $CC -o $TESTBIN "$t"/*.c $OBJ || exit 1 -- cgit v1.3