From b6947af2294ea0c814f5b4cb8737c782895519b2 Mon Sep 17 00:00:00 2001 From: Eric Sunshine Date: Sun, 21 Jan 2018 03:07:28 -0500 Subject: [PATCH] t5601-clone: test case-conflicting files on case-insensitive filesystem A recently introduced regression caused a segfault at clone time on case-insensitive filesystems when filenames differing only in case are present. This bug has already been fixed (repository: pre-initialize hash algo pointer, 2018-01-18), but it's not the first time similar problems have arisen. Therefore, introduce a test to catch this case and protect against future regressions. Signed-off-by: Eric Sunshine Signed-off-by: brian m. carlson Signed-off-by: Eric Sunshine Signed-off-by: Junio C Hamano --- t/t5601-clone.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index 50e40abb11..55df602aea 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -573,4 +573,21 @@ test_expect_success 'GIT_TRACE_PACKFILE produces a usable pack' ' git -C replay.git index-pack -v --stdin