X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=test%2Ftxn_test.c;h=0a5045d753f8e45654963437423e92f479b109e3;hb=7d658a03f83e64690d0c71b4733dd3f9a2c60208;hp=5a7606ad7a81fbea60941069bf1e902bad1a1c1d;hpb=2cce67f0002cdb6dcdc2ab8ccf837e3d2b3336de;p=nbds diff --git a/test/txn_test.c b/test/txn_test.c index 5a7606a..0a5045d 100644 --- a/test/txn_test.c +++ b/test/txn_test.c @@ -10,7 +10,7 @@ #define ASSERT_EQUAL(x, y) CuAssertIntEquals(tc, x, y) void test1 (CuTest* tc) { - map_t *map = map_alloc(&ht_map_impl, NULL); + map_t *map = map_alloc(&MAP_IMPL_HT, NULL); txn_t *t1 = txn_begin(map); txn_t *t2 = txn_begin(map); map_key_t k1 = (map_key_t)1; @@ -26,8 +26,7 @@ void test1 (CuTest* tc) { int main (void) { - nbd_init(); - txn_init(); + lwt_set_trace_level("x3h3"); CuString *output = CuStringNew(); CuSuite* suite = CuSuiteNew();