From: Regina Obe Date: Tue, 24 Sep 2013 21:23:34 +0000 (+0000) Subject: #2396 liblwgeom tests fail on big-endian architectures (oops copied the wrong tickets... X-Git-Tag: 2.2.0rc1~1361 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4be57692e0ba7d85da819686d1ca449e6362985;p=postgis #2396 liblwgeom tests fail on big-endian architectures (oops copied the wrong tickets file) (3rd time hopefully a charm) git-svn-id: http://svn.osgeo.org/postgis/trunk@11975 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/tickets.sql b/regress/tickets.sql index 8fa60efbb..4aff77614 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -685,7 +685,7 @@ SELECT '#1734.1', count(*) FROM eg; DROP table eg; -- #1755 -- -select '#1755', st_geographyFromText('SRID=4326;Point(85 35 0)'); +select '#1755', encode(ST_AsBinary(ST_GeographyFromText('SRID=4326;Point(85 35 0)'),'ndr'),'hex'); -- #1776 -- with inp as ( SELECT @@ -849,5 +849,6 @@ SELECT '#2427', st_astext(st_pointn(ST_CurveToLine('CIRCULARSTRING(-1 0,0 1,0 -1 SELECT '#2168', ST_Distance(g1,g2) As dist_g1_g2, ST_Distance(g2,g1) AS dist_g2_g1 FROM (SELECT 'POINT(18.5107234 54.7587757)'::geography As g1, 'POINT(18.58218 54.7344227)'::geography As g2) As a; + -- Clean up DELETE FROM spatial_ref_sys; diff --git a/regress/tickets_expected b/regress/tickets_expected index e48513ae0..78dc1fece 100644 --- a/regress/tickets_expected +++ b/regress/tickets_expected @@ -121,7 +121,7 @@ NOTICE: IllegalArgumentException: Invalid number of points in LinearRing found ERROR: Shell is not a line #695 ERROR: First argument must be a LINESTRING -#696|010f000080060000000103000080010000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f03f0000000000000000000000000000f03f000000000000f03f0000000000000000000000000000f03f0000000000000000000000000000000000000000000000000000000000000000010300008001000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000f03f0000000000000000000000000000f03f000000000000f03f0000000000000000000000000000f03f0000000000000000000000000000000000000000000000000000000000000000000000000000000001030000800100000005000000000000000000000000000000000000000000000000000000000000000000f03f00000000000000000000000000000000000000000000f03f0000000000000000000000000000f03f00000000000000000000000000000000000000000000f03f00000000000000000000000000000000000000000000000001030000800100000005000000000000000000f03f000000000000f03f0000000000000000000000000000f03f000000000000f03f000000000000f03f000000000000f03f0000000000000000000000000000f03f000000000000f03f00000000000000000000000000000000000000000000f03f000000000000f03f0000000000000000010300008001000000050000000000000000000000000000000000f03f00000000000000000000000000000000000000000000f03f000000000000f03f000000000000f03f000000000000f03f000000000000f03f000000000000f03f000000000000f03f00000000000000000000000000000000000000000000f03f00000000000000000103000080010000000500000000000000000000000000000000000000000000000000f03f000000000000f03f0000000000000000000000000000f03f000000000000f03f000000000000f03f000000000000f03f0000000000000000000000000000f03f000000000000f03f00000000000000000000000000000000000000000000f03f +#696|010F000080060000000103000080010000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F03F0000000000000000000000000000F03F000000000000F03F0000000000000000000000000000F03F0000000000000000000000000000000000000000000000000000000000000000010300008001000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000F03F0000000000000000000000000000F03F000000000000F03F0000000000000000000000000000F03F0000000000000000000000000000000000000000000000000000000000000000000000000000000001030000800100000005000000000000000000000000000000000000000000000000000000000000000000F03F00000000000000000000000000000000000000000000F03F0000000000000000000000000000F03F00000000000000000000000000000000000000000000F03F00000000000000000000000000000000000000000000000001030000800100000005000000000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F00000000000000000000000000000000000000000000F03F000000000000F03F0000000000000000010300008001000000050000000000000000000000000000000000F03F00000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F00000000000000000000000000000000000000000000F03F00000000000000000103000080010000000500000000000000000000000000000000000000000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F0000000000000000000000000000F03F000000000000F03F00000000000000000000000000000000000000000000F03F #720|MULTIPOINT(-1113194.91 4838471.4,-1113194.91 7326837.72,-1113194.91 11028513.63,556597.45 4838471.4,556597.45 7326837.72,556597.45 11028513.63,2226389.82 4838471.4,2226389.82 7326837.72,2226389.82 11028513.63,3896182.18 4838471.4,3896182.18 7326837.72,3896182.18 11028513.63,5565974.54 4838471.4,5565974.54 7326837.72,5565974.54 11028513.63) #723|0101000020e61000006284f068e33826c00000000000004440 #723|0107000020e610000000000000 @@ -219,7 +219,7 @@ NOTICE: SRID value -1 converted to the officially unknown SRID value 0 #1697.2|0 #1697.3|1024 #1734.1|1026 -#1755|01010000A0E6100000000000000040554000000000008041400000000000000000 +#1755|01e9030000000000000040554000000000008041400000000000000000 #1776|POLYGON((0 0,10 0,10 10,0 0))|POLYGON((0 0,10 0,10 10,0 0)) #1780|t #1791|4.7