[postgis-tickets] [PostGIS] #2674: Another count mismatch postgis 2.0.4 to 2.1.2dev one less operator
PostGIS
trac at osgeo.org
Mon Mar 24 07:53:37 PDT 2014
#2674: Another count mismatch postgis 2.0.4 to 2.1.2dev one less operator
------------------------------------+---------------------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.1.2
Component: build/upgrade/install | Version: 2.1.x
Resolution: | Keywords:
------------------------------------+---------------------------------------
Comment(by strk):
So 9.3 wasn't supported byt I installed in 9.1 and run_test.pl failed to
find a problem:
{{{
[strk at cdb:/usr/src/postgis/postgis/regress(svn-trunk)] ./run_test.pl
--extension --upgrade-path 2.0.4--2.1.2dev -v
/usr/src//postgis/postgis-2.1/regress/tickets.sql
Upgrade path: 2.0.4 --> 2.1.2dev
PATH is
/home/strk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
Checking for shp2pgsql ... found
Checking for pgsql2shp ... found
TMPDIR is /tmp/pgis_reg
Creating database 'postgis_reg'
Preparing db 'postgis_reg' using: CREATE EXTENSION postgis VERSION '2.0.4'
Upgrading PostGIS in 'postgis_reg' using: ALTER EXTENSION postgis UPDATE
TO '2.1.2dev'
PostgreSQL 9.1.12 on x86_64-unknown-linux-gnu, compiled by gcc
(Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1, 64-bit
Postgis 2.0.4 - r12336 - 2014-02-23 15:21:31
scripts 2.1.2dev r12336
GEOS: 3.4.3dev-CAPI-1.8.3 r3958
PROJ: Rel. 4.7.1, 23 September 2009
Running tests
/usr/src//postgis/postgis-2.1/regress/tickets .. ok
uninstall .. ok (3857)
Run tests: 2
Failed: 0
}}}
The "uninstall" test checks that the number of objects in the database
_before_ the initial install (2.0.4) is the same as the number of database
objets _after_ the disinstall. How can we make run_test.pl catch the error
you're talking about ? What should it check ?
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2674#comment:12>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list