Is this a bug or feature?
Also print subunit messages and don't call
talloc_enable_null_tracking(), that's already done by test_reset().
metze
static bool test_rusty(void)
{
void *root;
- const char *p1;
+ char *p1;
+
+ printf("test: rusty \n# TALLOC RUSTY\n");
- talloc_enable_null_tracking();
root = talloc_new(NULL);
p1 = talloc_strdup(root, "foo");
talloc_increase_ref_count(p1);
talloc_report_full(root, stdout);
talloc_free(root);
CHECK_BLOCKS("null_context", NULL, 2);
+ talloc_free(p1);
+
+ printf("success: rusty\n");
return true;
}