sschuberth/git — pull request #1 by t-b (2013-09-04 13:10:23+00:00)
Title: Fix t0061 test for windows and mingwGitDevEnv

Replace test_cmp with test_cmp_text to avoid LF/CRLF confusion.

The cat from msysgit, version 2.0, tampers over this test case failure,
while cat from mingwGitDevEnv in version 5.97 does not.

It looks like as http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=8770c00ef45e3c6c4dd3d5ce1e55a6fb1adb13dc
is responsible for the change.

Changing the test case to an equivalent version
diff --git a/t/t0061-run-command.sh b/t/t0061-run-command.sh
index 17e969d..2f99ac0 100755
--- a/t/t0061-run-command.sh
+++ b/t/t0061-run-command.sh
@@ -9,7 +9,7 @@ test_description='Test run command'

cat >hello-script <<-EOF
#!$SHELL_PATH
-	cat hello-script
+ awk '{print \$0}' hello-script
EOF
>empty

exposes the test case failure both in msysgit and mingwGitDevEnv.

Signed-off-by: Thomas Braun