]> granicus.if.org Git - postgis/commitdiff
Ignore LF/CRLF differences when differencing sql output files in raster tests.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 27 Feb 2012 17:48:46 +0000 (17:48 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 27 Feb 2012 17:48:46 +0000 (17:48 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9319 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test

index 370b0e8ae835c6cfc9440cf21208ffb7893359d2..26d0684ec0553bc5dad732e0df621a3cb3f1bf30 100755 (executable)
@@ -497,7 +497,7 @@ run_raster_loader_and_check_output()
                # Compare the output SQL file with the expected if there is one.
                if [ -r $_expected_sql_file ]; then
                        show_progress
-                       if diff "${TMPDIR}/loader.out" "$_expected_sql_file" > /dev/null; then
+                       if diff -w "${TMPDIR}/loader.out" "$_expected_sql_file" > /dev/null; then
                                :
                        else
                                fail " $_description: actual SQL does not match expected.", \