aboutsummaryrefslogtreecommitdiffstats
path: root/autotest-external.sh
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-24 16:17:15 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-24 16:17:15 +0200
commit3b7ba552ae6fb3aada32ec024138227007fd1f13 (patch)
tree6840274b2ca079c566578a46ec4eff1bea66b64c /autotest-external.sh
parente7110c767802f9b8e0c9f845e54b6418f47fe74d (diff)
downloadnextcloud-server-3b7ba552ae6fb3aada32ec024138227007fd1f13.tar.gz
nextcloud-server-3b7ba552ae6fb3aada32ec024138227007fd1f13.zip
Fix ext storage test class name in test script
Diffstat (limited to 'autotest-external.sh')
-rwxr-xr-xautotest-external.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/autotest-external.sh b/autotest-external.sh
index 9705980aa2b..9d9d42cee35 100755
--- a/autotest-external.sh
+++ b/autotest-external.sh
@@ -178,7 +178,7 @@ EOF
return;
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
for startFile in `ls -1 $FILES_EXTERNAL_BACKEND_ENV_PATH | grep start`; do
@@ -198,7 +198,9 @@ EOF
# getting backend to test from filename
# it's the part between the dots startSomething.TestToRun.sh
testToRun=`echo $startFile | cut -d '-' -f 2`
- testToRun="${testToRun}test.php"
+ # capitalize first letter
+ testToRun="${testToRun^}"
+ testToRun="${testToRun}Test.php"
# run the specific test
if [ -z "$NOCOVERAGE" ]; then