postgis/extras/ogc_test_suite
Sandro Santilli e3be619046 Drop .cvsignore files
git-svn-id: http://svn.osgeo.org/postgis/trunk@9429 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-08 10:36:15 +00:00
..
1_schema.sql Add official "adaptions" to the files to make them suitable for 2006-07-21 21:21:53 +00:00
2_queries.sql Add official "adaptions" to the files to make them suitable for 2006-07-21 21:21:53 +00:00
3_cleanup.sql Renamed examples/ to extras/. Added WFS_locks. 2005-04-15 15:09:20 +00:00
Makefile Part 1 of GBT#94: Rename folders/files to be more consistent. Embed the MAJOR.MINOR version in the PostgreSQL shared library name (to allow different databases to contain different PostGIS versions) and also rename lwpostgis.sql to postgis.sql. Update documentation in various files to reflect the new names at the same time. 2009-01-15 18:35:06 +00:00
README Part 1 of GBT#94: Rename folders/files to be more consistent. Embed the MAJOR.MINOR version in the PostgreSQL shared library name (to allow different databases to contain different PostGIS versions) and also rename lwpostgis.sql to postgis.sql. Update documentation in various files to reflect the new names at the same time. 2009-01-15 18:35:06 +00:00

This test suite was originally downloaded from 
http://www.opengeospatial.org/resources/?page=testing&view=sfsql
and legal adaptations necessary for PostGIS were added to allow it
to run.

- All tests must be run in a database named 'ogc' in order for the 
  AddGeometryColumn() function calls to work.

  createdb ogc
  createlang plpgsql ogc
  psql ogc < ../../postgis.sql

  psql -a -f 1_schema.sql ogc >& 1_output.txt
  psql -a -f 2_queries.sql ogc >& 2_output.txt
  psql -a -f 3_cleanup.sql ogc >& 3_output.txt

- Load the test files in order. File 2 has the actual tests, with the
  correct answers for each test in the comments.