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:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-03-05 21:53:26 +0300
committerGitHub <noreply@github.com>2019-03-05 21:53:26 +0300
commitc1c594f2ada4d18d0c73e0f590a2afcdf2032428 (patch)
treec8aef46741e39dced8ee57d4c5ebeaf3849594a4 /autotest-checkers.sh
parentdebd32b461c81d610f55f6f5b93706244fc9145e (diff)
parentcacb6279c4b9c2752809b6610a0529d7027d6ee8 (diff)
Merge pull request #14535 from nextcloud/tests/noid/reduce-logs-in-checker-test
Reduce errors in checker tests
Diffstat (limited to 'autotest-checkers.sh')
-rwxr-xr-xautotest-checkers.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/autotest-checkers.sh b/autotest-checkers.sh
index f1b231d6200..37b396de5e5 100755
--- a/autotest-checkers.sh
+++ b/autotest-checkers.sh
@@ -11,7 +11,12 @@ RESULT=$(($RESULT+$?))
bash ./build/ca-bundle-checker.sh
RESULT=$(($RESULT+$?))
-
+dataDirCreated=0
+if ! [ -e data/ ]; then
+ dataDirCreated=1
+ echo "Create directory 'data/'"
+ mkdir data/
+fi
for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;); do
echo "Testing $app"
if
@@ -36,6 +41,10 @@ for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;);
fi
RESULT=$(($RESULT+$?))
done;
+if [ $dataDirCreated == 1 ]; then
+ echo "Delete created directory 'data/'"
+ rm -rf data/
+fi
php ./build/files-checker.php
RESULT=$(($RESULT+$?))