Merge pull request #12724 from owncloud/fix-autotest-no-file
Fix autotest no file
This commit is contained in:
commit
d4b3c50f7d
|
@ -228,7 +228,7 @@ if [ -z "$1" ]
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
FILENAME="$2"
|
FILENAME="$2"
|
||||||
if [ ! -f "tests/$FILENAME" ]; then
|
if [ ! -z "$2" ] && [ ! -f "tests/$FILENAME" ]; then
|
||||||
FILENAME="../$FILENAME"
|
FILENAME="../$FILENAME"
|
||||||
fi
|
fi
|
||||||
execute_tests "$1" "$FILENAME" "$3"
|
execute_tests "$1" "$FILENAME" "$3"
|
||||||
|
|
Loading…
Reference in New Issue