snap-keystone/tests/keystone_cleanup.sh
Corey Bryant 233e1c204b In test cleanup, only delete DB if it exists
Change-Id: I3006fa24fb093c071f988260db5393fd4d40cfac
2017-10-25 16:21:15 -04:00

8 lines
85 B
Bash

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