From: Pat Thoyts Date: Fri, 14 Oct 2011 22:53:32 GMT Subject: [PATCH 5/8] t9901: fix line-ending dependency on windows Message-ID: <1318632815-29945-6-git-send-email-patthoyts@users.sourceforge.net> In-Reply-To: <1318632815-29945-1-git-send-email-patthoyts@users.sourceforge.net> Signed-off-by: Pat Thoyts --- t/t9901-git-web--browse.sh | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/t/t9901-git-web--browse.sh b/t/t9901-git-web--browse.sh index 7906e5d..1185b42 100755 --- a/t/t9901-git-web--browse.sh +++ b/t/t9901-git-web--browse.sh @@ -12,7 +12,7 @@ test_expect_success \ echo http://example.com/foo\&bar >expect && git config browser.custom.cmd echo && git web--browse --browser=custom \ - http://example.com/foo\&bar >actual && + http://example.com/foo\&bar | tr -d "\r" >actual && test_cmp expect actual ' @@ -21,7 +21,7 @@ test_expect_success \ echo http://example.com/foo\;bar >expect && git config browser.custom.cmd echo && git web--browse --browser=custom \ - http://example.com/foo\;bar >actual && + http://example.com/foo\;bar | tr -d "\r" >actual && test_cmp expect actual ' @@ -30,7 +30,7 @@ test_expect_success \ echo http://example.com/foo#bar >expect && git config browser.custom.cmd echo && git web--browse --browser=custom \ - http://example.com/foo#bar >actual && + http://example.com/foo#bar | tr -d "\r" >actual && test_cmp expect actual ' @@ -44,7 +44,7 @@ test_expect_success \ chmod +x "fake browser" && git config browser.w3m.path "`pwd`/fake browser" && git web--browse --browser=w3m \ - http://example.com/foo >actual && + http://example.com/foo | tr -d "\r" >actual && test_cmp expect actual ' @@ -59,7 +59,7 @@ test_expect_success \ } f" && git web--browse --browser=custom \ - http://example.com/foo >actual && + http://example.com/foo | tr -d "\r" >actual && test_cmp expect actual ' -- 1.7.7.1.gbba15