From d110e26af1c24f3f15591c62dd1db132948148f2 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Nov 22 2011 20:00:10 +0000 Subject: Remove mysql db after the r_lamp tests --- diff --git a/tests/r_lamp/40_basic_lamp.sh b/tests/r_lamp/40_basic_lamp.sh index 3725303..42af36d 100755 --- a/tests/r_lamp/40_basic_lamp.sh +++ b/tests/r_lamp/40_basic_lamp.sh @@ -45,6 +45,10 @@ wget http://localhost/mysql.php t_Log "Performing basic LAMP test" content=`echo "select * from qatests.tests where name='mysqltest'"|mysql -B --skip-column-names` + +# Clean up +mysql -u root -e 'drop database qatests;' + if [ "$content" = "mysqltest" ] ; then t_Log PASS; exit 0;