From: Sebastian Harl Date: Thu, 2 Jan 2014 00:14:17 +0000 (+0100) Subject: dbi_test: Make tests support CK_FORK=no. X-Git-Tag: sysdb-0.1.0~261 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e7486d9b86ef31afe93d838b06bee0395d7078d5;p=sysdb.git dbi_test: Make tests support CK_FORK=no. … by resetting state as needed. --- diff --git a/t/utils/dbi_test.c b/t/utils/dbi_test.c index c355e64..10447e9 100644 --- a/t/utils/dbi_test.c +++ b/t/utils/dbi_test.c @@ -403,6 +403,8 @@ setup(void) client = sdb_dbi_client_create("mockdriver", "mockdatabase"); fail_unless(client != NULL, "sdb_dbi_client_create() = NULL; expected client object"); + + dbi_conn_connect_called = 0; } /* setup */ static void