reftable/record: decode keys in place
[alt-git.git] / t / t7062-wtstatus-ignorecase.sh
blobcaf372a3d42ac362c96bbbdf340f27688a565130
1 #!/bin/sh
3 test_description='git-status with core.ignorecase=true'
5 TEST_PASSES_SANITIZE_LEAK=true
6 . ./test-lib.sh
8 test_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
21 test_done