X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Ft7417-submodule-path-url.sh;h=756af8c4d6fbd1ba9fb2e4d6fd5b8ae9ddfc34e1;hb=d4e4db7b025e91cc6cd9ecc1e0bc54f54dd3e3ee;hp=f7e7e94d7b6cfec6c625f6830b296b276572df66;hpb=f6ae050ddb0b43971499f7bad5c1c55ffafd7386;p=platform%2Fupstream%2Fgit.git diff --git a/t/t7417-submodule-path-url.sh b/t/t7417-submodule-path-url.sh index f7e7e94..756af8c 100755 --- a/t/t7417-submodule-path-url.sh +++ b/t/t7417-submodule-path-url.sh @@ -25,21 +25,4 @@ test_expect_success 'fsck rejects unprotected dash' ' grep gitmodulesPath err ' -test_expect_success MINGW 'submodule paths disallows trailing spaces' ' - git init super && - test_must_fail git -C super submodule add ../upstream "sub " && - - : add "sub", then rename "sub" to "sub ", the hard way && - git -C super submodule add ../upstream sub && - tree=$(git -C super write-tree) && - git -C super ls-tree $tree >tree && - sed "s/sub/sub /" tree.new && - tree=$(git -C super mktree err && - test_i18ngrep "sub " err -' - test_done