Merge pull request #12724 from owncloud/fix-autotest-no-file

Fix autotest no file
This commit is contained in:
Thomas Müller 2014-12-09 17:01:00 +01:00
commit d4b3c50f7d
1 changed files with 1 additions and 1 deletions

View File

@ -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"