]> granicus.if.org Git - postgis/commitdiff
Actually use the --strip-trailing-cr switch, do not check it only
authorSandro Santilli <strk@keybit.net>
Mon, 27 May 2013 16:04:59 +0000 (16:04 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 27 May 2013 16:04:59 +0000 (16:04 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11503 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test.pl

index 467589d8c793519421b6482a4fe4b10ab391cb4c..6751a77ea91cfbd8893396ee66ab5d76ffb68eb8 100755 (executable)
@@ -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;
        }