X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft0050-filesystem.sh;h=7edf49db3c37982a6d599a39b98ce60ceeb0039b;hb=1487eb68f7fd145151caa9a11ee00283629b75ef;hp=0e33c4bdc7062015fa94c15cf4cc2ba558eeef72;hpb=8a19aaab6394df2c6138d5b8b1411eb00bfcf442;p=git.git diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh index 0e33c4bdc..7edf49db3 100755 --- a/t/t0050-filesystem.sh +++ b/t/t0050-filesystem.sh @@ -43,7 +43,7 @@ test_expect_success "detection of case insensitive filesystem during repo init" else test_expect_success "detection of case insensitive filesystem during repo init" ' - ! git config --bool core.ignorecase >/dev/null || + test_must_fail git config --bool core.ignorecase >/dev/null || test $(git config --bool core.ignorecase) = false ' fi @@ -72,6 +72,8 @@ $test_case 'rename (case change)' ' $test_case 'merge (case change)' ' + rm -f CamelCase && + rm -f camelcase && git reset --hard initial && git merge topic @@ -83,7 +85,7 @@ $test_case 'add (with different case)' ' rm camelcase && echo 1 >CamelCase && git add CamelCase && - test $(git-ls-files | grep -i camelcase | wc -l) = 1 + test $(git ls-files | grep -i camelcase | wc -l) = 1 '