autotest.sh shall not terminate if mysql db could not be dropped

remotes/origin/fix-10825
Thomas Müller 10 years ago
parent 5ff5b7386f
commit 75b8488ab9

@ -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

Loading…
Cancel
Save