In unit tests, we compare text written in logs or stdout/stderr to figure out the success or failure of tests. In Windows, since new line is represented by CR+LF, autoconf tests run in MinGW environment fail.
Asking diff to ignore trailing carriage returns is one way to solve the problem Suggested-by: Ben Pfaff <b...@nicira.com> Signed-off-by: Gurucharan Shetty <gshe...@nicira.com> --- tests/testsuite.at | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/testsuite.at b/tests/testsuite.at index 95e53d2..4b1d13f 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -47,6 +47,10 @@ pwd () { command pwd -W "$@" } +diff () { + command diff --strip-trailing-cr "$@" +} + kill () { case "$1" in -0) -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev