summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e2fbe0e)
raw | patch | inline | side by side (parent: e2fbe0e)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 21 Feb 2014 01:00:21 +0000 (02:00 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 21 Feb 2014 01:00:21 +0000 (02:00 +0100) |
This removes any cross-dependencies between multiple checks.
t/core/store_test.c | patch | blob | history |
diff --git a/t/core/store_test.c b/t/core/store_test.c
index 855c8c09e857b4b821e022bda2ec5f23d525856f..8d484b671efb7b48e436a09907c7f0d6602d8a27 100644 (file)
--- a/t/core/store_test.c
+++ b/t/core/store_test.c
status = sdb_store_service(golden_data[i].host,
golden_data[i].svc, golden_data[i].last_update);
fail_unless(status == golden_data[i].expected,
- "sdb_store_attribute(%s, %s, %d) = %d; expected: %d",
+ "sdb_store_service(%s, %s, %d) = %d; expected: %d",
golden_data[i].host, golden_data[i].svc,
golden_data[i].last_update, status, golden_data[i].expected);
}
TCase *tc;
tc = tcase_create("core");
- /* test this first to ensure the store is empty
- * even when using CK_NOFORK */
tcase_add_test(tc, test_store_tojson);
tcase_add_test(tc, test_store_host);
tcase_add_test(tc, test_store_get_host);
tcase_add_test(tc, test_store_attr);
tcase_add_test(tc, test_store_service);
+ tcase_add_unchecked_fixture(tc, NULL, sdb_store_clear);
suite_add_tcase(s, tc);
return s;