From ca0fb40a6f3ec2b1a254e0d5e5f307cbed541251 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Sat, 5 Feb 2011 17:18:27 +0100 Subject: [PATCH] Made test index_write_test() remove the test file it has created. It can now be run twice in a row without failing. --- tests/t06-index.c | 2 ++ 1 file changed, 2 insertions(+) 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