Code

t9001: do not fail only due to CR/LF issues
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 14 Oct 2011 22:53:30 +0000 (23:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Oct 2011 05:37:58 +0000 (22:37 -0700)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh

index 87b4acc9a686e0153435969131bff7e9df161dce..8c12c65c72658acb37fa715fc93756381bc824bb 100755 (executable)
@@ -23,6 +23,7 @@ test_expect_success $PREREQ \
       echo do
       echo "  echo \"!\$a!\""
       echo "done >commandline\$output"
+      test_have_prereq MINGW && echo "dos2unix commandline\$output"
       echo "cat > msgtxt\$output"
       ) >fake.sendmail &&
      chmod +x ./fake.sendmail &&