From 0242c5c2d1a186ae9fb46465aa6c7d3ba7eade64 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 9 Dec 2014 16:35:29 +0100 Subject: [PATCH] Correctly run all tests again when no file is specified --- autotest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotest.sh b/autotest.sh index abed4a8908..7bb4c80cb9 100755 --- a/autotest.sh +++ b/autotest.sh @@ -228,7 +228,7 @@ if [ -z "$1" ] done else FILENAME="$2" - if [ ! -f "tests/$FILENAME" ]; then + if [ ! -z "$2" ] && [ ! -f "tests/$FILENAME" ]; then FILENAME="../$FILENAME" fi execute_tests "$1" "$FILENAME" "$3"