[PATCH] t3200: fix failure on case-insensitive filesystems
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Sep 14, 2013, 07:36 UTC
- Message-ID
- <1379144184-17568-1-git-send-email-sunshine@sunshineco.com>
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> ---
This applies against 'next'.
There are many ways to resolve this failure. I chose one in which the test arranges a clean slate for itself before performing the important operations.
t/t3200-branch.sh | 1 + 1 file changed, 1 insertion(+)
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 84fcbf4..0fe7647 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -873,6 +873,7 @@ test_expect_success '--merged catches invalid object names' ' ' test_expect_success 'tracking with unexpected .fetch refspec' ' + rm -rf a b c d && git init a && ( cd a &&
-- 1.8.4.535.g7b94f8e