]> git.ipfire.org Git - thirdparty/git.git/blame - t/t7062-wtstatus-ignorecase.sh
Merge branch 'jk/clone-allow-bare-and-o-together'
[thirdparty/git.git] / t / t7062-wtstatus-ignorecase.sh
CommitLineData
2092678c
KB
1#!/bin/sh
2
3test_description='git-status with core.ignorecase=true'
4
3e3b9321 5TEST_PASSES_SANITIZE_LEAK=true
2092678c
KB
6. ./test-lib.sh
7
8test_expect_success 'status with hash collisions' '
9 # note: "V/", "V/XQANY/" and "WURZAUP/" produce the same hash code
10 # in name-hash.c::hash_name
11 mkdir V &&
12 mkdir V/XQANY &&
13 mkdir WURZAUP &&
14 touch V/XQANY/test &&
15 git config core.ignorecase true &&
16 git add . &&
17 # test is successful if git status completes (no endless loop)
18 git status
19'
20
21test_done