From: Sandro Santilli Date: Mon, 27 May 2013 16:04:59 +0000 (+0000) Subject: Actually use the --strip-trailing-cr switch, do not check it only X-Git-Tag: 2.1.0beta3~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20029a16edbe4a2a34502972191d697b4f6aead2;p=postgis Actually use the --strip-trailing-cr switch, do not check it only git-svn-id: http://svn.osgeo.org/postgis/trunk@11503 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/run_test.pl b/regress/run_test.pl index 467589d8c..6751a77ea 100755 --- a/regress/run_test.pl +++ b/regress/run_test.pl @@ -1195,7 +1195,7 @@ sub diff my $diffstr = ''; if ( $sysdiff ) { - $diffstr = `diff -u $expected_file $obtained_file`; + $diffstr = `diff --strip-trailing-cr -u $expected_file $obtained_file`; return $diffstr; }