Merge pull request #14535 from nextcloud/tests/noid/reduce-logs-in-checker-test
Reduce errors in checker tests
This commit is contained in:
commit
c1c594f2ad
|
@ -11,7 +11,12 @@ RESULT=$(($RESULT+$?))
|
||||||
bash ./build/ca-bundle-checker.sh
|
bash ./build/ca-bundle-checker.sh
|
||||||
RESULT=$(($RESULT+$?))
|
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
|
for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;); do
|
||||||
echo "Testing $app"
|
echo "Testing $app"
|
||||||
if
|
if
|
||||||
|
@ -36,6 +41,10 @@ for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;);
|
||||||
fi
|
fi
|
||||||
RESULT=$(($RESULT+$?))
|
RESULT=$(($RESULT+$?))
|
||||||
done;
|
done;
|
||||||
|
if [ $dataDirCreated == 1 ]; then
|
||||||
|
echo "Delete created directory 'data/'"
|
||||||
|
rm -rf data/
|
||||||
|
fi
|
||||||
|
|
||||||
php ./build/files-checker.php
|
php ./build/files-checker.php
|
||||||
RESULT=$(($RESULT+$?))
|
RESULT=$(($RESULT+$?))
|
||||||
|
|
Loading…
Reference in New Issue