t3200: fix failure on case-insensitive filesystems
authorEric Sunshine <sunshine@sunshineco.com>
Sat, 14 Sep 2013 07:36:24 +0000 (03:36 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Sep 2013 17:18:13 +0000 (10:18 -0700)
62d94a3a (t3200: Add test demonstrating minor regression in 41c21f2;
2013-09-08) introduced a test which creates a directory named 'a',
however, on case-insensitive filesystems, this action fails with a
"fatal: cannot mkdir a: File exists" error due to a file named 'A' left
over from earlier tests. Resolve this problem.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh
index f010303270724c8d659c23d8d9a601f076bd056e..55c9ab0b6a5c65aacdb3ef6107c3417d7bdc4e00 100755 (executable)
@@ -872,6 +872,7 @@ test_expect_success '--merged catches invalid object names' '
 '
 
 test_expect_success 'tracking with unexpected .fetch refspec' '
 '
 
 test_expect_success 'tracking with unexpected .fetch refspec' '
+       rm -rf a b c d &&
        git init a &&
        (
                cd a &&
        git init a &&
        (
                cd a &&