tests: undo special treatment of CRLF for Windows

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Johannes Sixt 2013-10-26 21:17:16 +02:00 committed by Junio C Hamano
parent 4d715ac05c
commit f94ea11cf2
3 changed files with 0 additions and 9 deletions

View file

@ -18,10 +18,6 @@ check() {
cat stderr && cat stderr &&
false false
fi && fi &&
if test_have_prereq MINGW
then
dos2unix -q stderr
fi &&
test_cmp expect-stdout stdout && test_cmp expect-stdout stdout &&
test_cmp expect-stderr stderr test_cmp expect-stderr stderr
} }

View file

@ -254,10 +254,6 @@ test_expect_success 'ensure "status --cached --recursive" preserves the --cached
) && ) &&
git submodule status --cached --recursive -- nested1 > ../actual git submodule status --cached --recursive -- nested1 > ../actual
) && ) &&
if test_have_prereq MINGW
then
dos2unix actual
fi &&
test_cmp expect actual test_cmp expect actual
' '

View file

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