mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
util: clean up test resources in the sandbox
Ensure that we clean up cruft that we create for testing, so that future tests don't have troubles.
This commit is contained in:
@@ -278,6 +278,10 @@ void test_path_win32__8dot3_name(void)
|
||||
cl_must_pass(p_mkdir(".bar", 0777));
|
||||
cl_assert_equal_s("BAR~2", (shortname = git_win32_path_8dot3_name(".bar")));
|
||||
git__free(shortname);
|
||||
|
||||
p_rmdir(".foo");
|
||||
p_rmdir(".bar");
|
||||
p_unlink("bar~1");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user