Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautotest.sh2
1 files changed, 1 insertions, 1 deletions
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"