]> source.dussan.org Git - nextcloud-server.git/commitdiff
autotest.sh shall not terminate if mysql db could not be dropped
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 24 Sep 2014 09:39:51 +0000 (11:39 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 24 Sep 2014 09:39:51 +0000 (11:39 +0200)
autotest.sh

index e86240e4e562b8551eb850ea68f7cc9c7b87d463..094f50d4370d1dcd5d32ad5dc886add60e4d47a0 100755 (executable)
@@ -163,7 +163,7 @@ function execute_tests {
 
        # drop database
        if [ "$1" == "mysql" ] ; then
-               mysql -u $DATABASEUSER -powncloud -e "DROP DATABASE $DATABASENAME"
+               mysql -u $DATABASEUSER -powncloud -e "DROP DATABASE $DATABASENAME" || true
        fi
        if [ "$1" == "pgsql" ] ; then
                dropdb -U $DATABASEUSER $DATABASENAME || true