From 52d3a7583a4ef9d6019fbfcb72e9088f93e59756 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Fri, 28 Sep 2012 11:30:56 +0100 Subject: [PATCH] t1306: perform file comparisons using text mode for Windows support Signed-off-by: Pat Thoyts --- t/t1306-xdg-files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t1306-xdg-files.sh b/t/t1306-xdg-files.sh index 8b14ab187c..278fdd51f2 100755 --- a/t/t1306-xdg-files.sh +++ b/t/t1306-xdg-files.sh @@ -15,7 +15,7 @@ test_expect_success 'read config: xdg file exists and ~/.gitconfig doesn'\''t' ' echo " myalias = !echo in_config" >>.config/git/config && echo in_config >expected && git myalias >actual && - test_cmp expected actual + test_cmp_text expected actual ' @@ -25,7 +25,7 @@ test_expect_success 'read config: xdg file exists and ~/.gitconfig exists' ' echo " myalias = !echo in_gitconfig" >>.gitconfig && echo in_gitconfig >expected && git myalias >actual && - test_cmp expected actual + test_cmp_text expected actual ' -- 2.11.4.GIT