Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio BertolĂ­n <sbertolin@solidgear.es>2016-08-26 10:57:48 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-08-30 18:23:26 +0300
commit7106129baac765c7296ccebf70910a83058ae3d7 (patch)
tree2ad6f1af0623716d96de37eb7383497948223a75 /build/integration/run.sh
parent3a5d29fb59c3b96b80b4fd5e2776f998020a1abc (diff)
External storage was not enabled and content was not deleted before scenarios
Diffstat (limited to 'build/integration/run.sh')
-rwxr-xr-xbuild/integration/run.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/integration/run.sh b/build/integration/run.sh
index 671ca7b9578..69190f7a31d 100755
--- a/build/integration/run.sh
+++ b/build/integration/run.sh
@@ -36,6 +36,9 @@ echo $PHPPID_FED
export TEST_SERVER_URL="http://localhost:$PORT/ocs/"
export TEST_SERVER_FED_URL="http://localhost:$PORT_FED/ocs/"
+#Enable external storage app
+../../occ app:enable files_external
+
OUTPUT_CREATE_STORAGE=`../../occ files_external:create local_storage local null::null -c datadir=./build/integration/local_storage`
ID_STORAGE=`echo $OUTPUT_CREATE_STORAGE | awk {'print $5'}`
@@ -50,6 +53,9 @@ kill $PHPPID_FED
../../occ files_external:delete -y $ID_STORAGE
+#Disable external storage app
+../../occ app:disable files_external
+
if [ -z $HIDE_OC_LOGS ]; then
tail "../../data/nextcloud.log"
fi