mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 18:03:54 +00:00
Made test index_write_test() remove the test file it has created.
It can now be run twice in a row without failing.
This commit is contained in:
parent
fb8dd803b7
commit
ca0fb40a6f
@ -146,6 +146,8 @@ BEGIN_TEST("write", index_write_test)
|
|||||||
must_pass(git_filelock_commit(&out_file));
|
must_pass(git_filelock_commit(&out_file));
|
||||||
|
|
||||||
git_index_free(index);
|
git_index_free(index);
|
||||||
|
|
||||||
|
gitfo_unlink("index_rewrite");
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user