diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2011-02-05 17:18:27 +0100 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2011-02-05 19:23:51 +0100 |
| commit | ca0fb40a6f3ec2b1a254e0d5e5f307cbed541251 (patch) | |
| tree | 4c1c8e9ca83e9ec250a708ddc60051ac8ee9dfad /tests/t06-index.c | |
| parent | fb8dd803b76020cc42103b506aed4c975ca047bd (diff) | |
| download | libgit2-ca0fb40a6f3ec2b1a254e0d5e5f307cbed541251.tar.gz | |
Made test index_write_test() remove the test file it has created.
It can now be run twice in a row without failing.
Diffstat (limited to 'tests/t06-index.c')
| -rw-r--r-- | tests/t06-index.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/t06-index.c b/tests/t06-index.c index 72702e819..f46dfb339 100644 --- a/tests/t06-index.c +++ b/tests/t06-index.c @@ -146,6 +146,8 @@ BEGIN_TEST("write", index_write_test) must_pass(git_filelock_commit(&out_file)); git_index_free(index); + + gitfo_unlink("index_rewrite"); END_TEST |
