snap-nova/tests/nova_cleanup.sh
Corey Bryant f058b9383d In test cleanup, only delete DBs if they exist
Change-Id: I892b7f8a3dfac2e84fa39ba95962eee586b88286
2017-10-25 16:22:44 -04:00

10 lines
151 B
Bash

#!/bin/bash
set -x
sudo mysql -u root << EOF
DROP DATABASE IF EXISTS nova;
DROP DATABASE IF EXISTS nova_api;
DROP DATABASE IF EXISTS nova_cell0;
EOF