diff options
Diffstat (limited to 'third_party/git/t/t9108-git-svn-glob.sh')
-rwxr-xr-x | third_party/git/t/t9108-git-svn-glob.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/git/t/t9108-git-svn-glob.sh b/third_party/git/t/t9108-git-svn-glob.sh index 6990f6436420..d5939d4753ec 100755 --- a/third_party/git/t/t9108-git-svn-glob.sh +++ b/third_party/git/t/t9108-git-svn-glob.sh @@ -48,7 +48,7 @@ test_expect_success 'test refspec globbing' ' "tags/*/src/a:refs/remotes/tags/*" && git svn multi-fetch && git log --pretty=oneline refs/remotes/tags/end >actual && - sed -e "s/^.\{41\}//" actual >output.end && + cut -d" " -f2- actual >output.end && test_cmp expect.end output.end && test "$(git rev-parse refs/remotes/tags/end~1)" = \ "$(git rev-parse refs/remotes/branches/start)" && @@ -84,7 +84,7 @@ test_expect_success 'test left-hand-side only globbing' ' test $(git rev-parse refs/remotes/two/tags/end~3) = \ $(git rev-parse refs/remotes/two/branches/start) && git log --pretty=oneline refs/remotes/two/tags/end >actual && - sed -e "s/^.\{41\}//" actual >output.two && + cut -d" " -f2- actual >output.two && test_cmp expect.two output.two ' |