t9300: use test_cmp_bin instead of test_cmp to compare binary files

test_cmp is intended to produce diff output for human consumption. The
input in one instance in t9300-fast-import.sh are binary files, however.
Use test_cmp_bin to compare the files.

This was noticed because on Windows we have a special implementation of
test_cmp in pure bash code (to ignore differences due to intermittent CR
in actual output), and bash runs into an infinite loop due to the binary
nature of the input.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Merge pull request #2 from t-b/tb_more_use_of_test_cmp_bin

t9300: use test_cmp_bin instead of test_cmp to compare binary files
t5000: Fix CRLF vs LF issue

All CRLF vs LF errors are introduced by the tr tool.

Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>
t2025: Tell tail explicitly to read from stdin

Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>
Revert "t0061: Work around a line endings issue with newer versions of cat on MSYS"

This reverts commit 57a35fddbf204bbc24a2f615958a1270c248a56b.

test_cmp_text is not defined anymore and as of 4d715ac0
(Windows: a test_cmp that is agnostic to random LF <> CRLF conversions)
this workaround is also not required anymore.
Revert "t7800: Use "test_cmp_text" in all places where "echo" is used"

This reverts commit 9264b1fabc4a0101b64c64df62f92ec143d1d390.

test_cmp_text is not defined anymore and as of 4d715ac0
(Windows: a test_cmp that is agnostic to random LF <> CRLF conversions)
this workaround is also not required anymore.
t5503: Mark flaky tests as known breakages

As non reliable tests are nasty.

Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>
t1508: Be more clever than msys path substitution

A string of the form "@/abcd" is considered a file path
by the msys layer and therefore translated to a windows path.

Here the trick is to double the slashes.

The msys patch translation can be studied with the following
test program:

 #include <stdio.h>
 #include <stdlib.h>

 int main(int argc, char** argv)
 {
 unsigned int i;
 for(i=1; i < argc; i++)
 	printf("argv[%d]=%s\n",i, argv[i]);

 exit(0);
 }

Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>