Message ID | 20231228215433.54854-8-rostedt@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 576ee0b96390d29f3c3bbfe451b5163abedf982f |
Headers | show |
Series | libtracefs: Several updates | expand |
diff --git a/utest/tracefs-utest.c b/utest/tracefs-utest.c index 28960c191581..183f37cd133a 100644 --- a/utest/tracefs-utest.c +++ b/utest/tracefs-utest.c @@ -2516,6 +2516,7 @@ static void test_custom_trace_dir(void) static int test_suite_destroy(void) { + tracefs_instance_reset(NULL); tracefs_instance_destroy(test_instance); tracefs_instance_free(test_instance); tep_free(test_tep); @@ -2531,6 +2532,9 @@ static int test_suite_init(void) if (!test_instance) return 1; + /* Start with a new slate */ + tracefs_instance_reset(NULL); + return 0; }