From 11fa8fe7eef79f33ac9686a1fb11b90e71669dbf Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 3 Nov 2016 12:04:54 +0100 Subject: [PATCH] Allow to run autotest with phpunit options Signed-off-by: Joas Schilling --- autotest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotest.sh b/autotest.sh index f53d37ec09b..f42ca41de9d 100755 --- a/autotest.sh +++ b/autotest.sh @@ -389,7 +389,7 @@ if [ -z "$1" ] done else FILENAME="$2" - if [ ! -z "$2" ] && [ ! -f "tests/$FILENAME" ]; then + if [ ! -z "$2" ] && [ ! -f "tests/$FILENAME" ] && [ "${FILENAME:0:2}" != "--" ]; then FILENAME="../$FILENAME" fi execute_tests "$1" "$FILENAME" "$3"