[postgis-devel] Regression Expected

Mark Leslie mrk.leslie at gmail.com
Thu Oct 9 18:17:08 PDT 2008


Paul Ramsey wrote:
> What's the procedure to create an _expected file? It's not clear at all...
>
> P.
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>   
As I recall, the tests are run with the output formatting options as
follows:
\a - unaligned
\f | - use | as the field separator
\t - output rows only, ie. no table header.

Each command in the .sql file is executed using these parameters, and
the output of the entire run is compared to the _expected file using diff.

-- 
Mark Leslie
Geospatial Software Architect
LISAsoft

-------------------------------------------------------------
Ph: +61 2 8570 5000 Fax: +61 2 8570 5099 Mob: +61 
Suite 112, Jones Bay Wharf 19-21 Pirrama Rd Pyrmont NSW 2009
-------------------------------------------------------------

LISAsoft is part of the A2end Group of Companies
http://www.ardec.com.au
http://www.lisasoft.com
http://www.terrapages.com




More information about the postgis-devel mailing list