From f799a040b7a99f3f84d6a64fbdfffe569c0ae49c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 8 Feb 2015 11:15:33 +0100 Subject: run-tests.sh: drop database in cleanup Signed-off-by: Florian Pritz --- run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run-tests.sh') diff --git a/run-tests.sh b/run-tests.sh index 38f21f3c3..0057b4d75 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -28,6 +28,7 @@ test -f run-tests.sh || exit 1 # prepare trap cleanup EXIT INT cleanup() { + php index.php tools drop_all_tables_using_prefix if ((use_php_dev_server)); then kill $server_pid fi @@ -57,5 +58,4 @@ tests=(${tests[@]%.php}) php index.php tools drop_all_tables_using_prefix php index.php tools update_database prove --state=hot,slow,save --timer -ve "php index.php tools test $url" "${tests[@]}" -php index.php tools drop_all_tables_using_prefix -- cgit v1.2.3-24-g4f1b