Fix ext storage test class name in test script

This commit is contained in:
Vincent Petry 2016-05-24 16:17:15 +02:00
parent e7110c7678
commit 3b7ba552ae
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
1 changed files with 4 additions and 2 deletions

View File

@ -178,7 +178,7 @@ EOF
return; return;
fi fi
FILES_EXTERNAL_BACKEND_PATH=../apps/files_external/tests/storage FILES_EXTERNAL_BACKEND_PATH=../apps/files_external/tests/Storage
FILES_EXTERNAL_BACKEND_ENV_PATH=../apps/files_external/tests/env FILES_EXTERNAL_BACKEND_ENV_PATH=../apps/files_external/tests/env
for startFile in `ls -1 $FILES_EXTERNAL_BACKEND_ENV_PATH | grep start`; do for startFile in `ls -1 $FILES_EXTERNAL_BACKEND_ENV_PATH | grep start`; do
@ -198,7 +198,9 @@ EOF
# getting backend to test from filename # getting backend to test from filename
# it's the part between the dots startSomething.TestToRun.sh # it's the part between the dots startSomething.TestToRun.sh
testToRun=`echo $startFile | cut -d '-' -f 2` testToRun=`echo $startFile | cut -d '-' -f 2`
testToRun="${testToRun}test.php" # capitalize first letter
testToRun="${testToRun^}"
testToRun="${testToRun}Test.php"
# run the specific test # run the specific test
if [ -z "$NOCOVERAGE" ]; then if [ -z "$NOCOVERAGE" ]; then