From fd005f9bc13df707ab0527bb5ffd201ea782b690 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Wed, 4 Jan 2017 12:44:08 +0100 Subject: [PATCH] Fixed exit code in case the test can't connect --- unittest/libmariadb/my_test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/libmariadb/my_test.h b/unittest/libmariadb/my_test.h index d3e4ce6b..ab6ea996 100644 --- a/unittest/libmariadb/my_test.h +++ b/unittest/libmariadb/my_test.h @@ -510,7 +510,7 @@ void run_tests(struct my_tests_st *test) { else { diag("Can't connect to a server. Aborting...."); - exit(0); + exit(-1); } for (i=0; i < total; i++) {