diff options
Diffstat (limited to 'autotest-checkers.sh')
-rwxr-xr-x | autotest-checkers.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/autotest-checkers.sh b/autotest-checkers.sh index 7985a548bcd..abadeeb182b 100755 --- a/autotest-checkers.sh +++ b/autotest-checkers.sh @@ -8,8 +8,15 @@ php ./build/translation-checker.php RESULT=$(($RESULT+$?)) php ./build/htaccess-checker.php 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 @@ -31,6 +38,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+$?)) |