diff --git a/tests/csync_tests/check_csync_config.c b/tests/csync_tests/check_csync_config.c index 721838494..07e76bea0 100644 --- a/tests/csync_tests/check_csync_config.c +++ b/tests/csync_tests/check_csync_config.c @@ -30,7 +30,10 @@ static void teardown(void **state) { rc = csync_destroy(csync); assert_int_equal(rc, 0); - rc = system("rm -rf /tmp/check_csync"); + rc = system("rm -rf /tmp/check_csync1"); + assert_int_equal(rc, 0); + + rc = system("rm -rf /tmp/check_csync2"); assert_int_equal(rc, 0); *state = NULL;