diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:16:47 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:16:47 +0900 |
commit | 76f8656c7d0687cd5ae1d42a76c77b2b46be33b1 (patch) | |
tree | da6c159a5da88172ef2764f0e75ab145562de7f3 /t/t5601-clone.sh | |
parent | 4a1ab0f3898633edd60f3f3ca31d09ae46d63029 (diff) | |
download | git-76f8656c7d0687cd5ae1d42a76c77b2b46be33b1.tar.gz git-76f8656c7d0687cd5ae1d42a76c77b2b46be33b1.tar.bz2 git-76f8656c7d0687cd5ae1d42a76c77b2b46be33b1.zip |
Imported Upstream version 2.20.0upstream/2.20.0
Diffstat (limited to 't/t5601-clone.sh')
-rwxr-xr-x | t/t5601-clone.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index ddaa96ac..8bbc7068 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -624,10 +624,16 @@ test_expect_success 'clone on case-insensitive fs' ' git hash-object -w -t tree --stdin) && c=$(git commit-tree -m bogus $t) && git update-ref refs/heads/bogus $c && - git clone -b bogus . bogus + git clone -b bogus . bogus 2>warning ) ' +test_expect_success CASE_INSENSITIVE_FS 'colliding file detection' ' + grep X icasefs/warning && + grep x icasefs/warning && + test_i18ngrep "the following paths have collided" icasefs/warning +' + partial_clone () { SERVER="$1" && URL="$2" && |