summaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-03 12:04:54 +0100
committerJoas Schilling <coding@schilljs.com>2016-11-03 12:04:54 +0100
commit11fa8fe7eef79f33ac9686a1fb11b90e71669dbf (patch)
treefc524196812cfff5b39c7c189ccc896443bce945 /autotest.sh
parente11197bc4872f2ada4740736969f4c96e24ea229 (diff)
downloadnextcloud-server-11fa8fe7eef79f33ac9686a1fb11b90e71669dbf.tar.gz
nextcloud-server-11fa8fe7eef79f33ac9686a1fb11b90e71669dbf.zip
Allow to run autotest with phpunit options
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'autotest.sh')
-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"