tests: Remove the right directory in the teardown function.

This commit is contained in:
Andreas Schneider 2012-10-30 14:48:47 +01:00
parent e3e00b4b32
commit 2752a9e9c0

View file

@ -30,7 +30,7 @@ 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);
*state = NULL;