diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-02-08 11:15:33 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-02-08 11:15:33 +0100 |
commit | f799a040b7a99f3f84d6a64fbdfffe569c0ae49c (patch) | |
tree | 580f5a5d857f3abeccfa6a35b8f131c3bb762924 | |
parent | f8513511ff5c77aca1cd2b7fc570d0dd34c4a417 (diff) |
run-tests.sh: drop database in cleanup
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | run-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |