Skip to content
Snippets Groups Projects
Commit c72ea811 authored by Morris Jobke's avatar Morris Jobke
Browse files

[autotest.sh] use the DATABASEHOST for the mysql DB drop

parent 75312f96
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ function execute_tests { ...@@ -117,7 +117,7 @@ function execute_tests {
# drop database # drop database
if [ "$1" == "mysql" ] ; then if [ "$1" == "mysql" ] ; then
mysql -u $DATABASEUSER -powncloud -e "DROP DATABASE IF EXISTS $DATABASENAME" || true mysql -u $DATABASEUSER -powncloud -e "DROP DATABASE IF EXISTS $DATABASENAME" -h $DATABASEHOST || true
fi fi
if [ "$1" == "pgsql" ] ; then if [ "$1" == "pgsql" ] ; then
dropdb -U $DATABASEUSER $DATABASENAME || true dropdb -U $DATABASEUSER $DATABASENAME || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment