[postgis-devel] [PostGIS] #303: Test results are language dependent

PostGIS trac at osgeo.org
Fri Nov 13 09:43:29 PST 2009


#303: Test results are language dependent
---------------------------+------------------------------------------------
  Reporter:  jorgearevalo  |       Owner:  pramsey      
      Type:  enhancement   |      Status:  new          
  Priority:  low           |   Milestone:  postgis 1.5.0
 Component:  postgis       |     Version:  trunk        
Resolution:                |    Keywords:  tests        
---------------------------+------------------------------------------------
Comment (by jorgearevalo):

 Replying to [comment:3 jorgearevalo]:
 > Sure thing!
 >
 > $ export LANG=C[[BR]]
 > $ make check[[BR]]
 > (...)[[BR]]
 > Run tests: 46[[BR]]
 > Failed: 0[[BR]]
 > $ export LANG=es_ES.UTF-8[[BR]]
 >
 > I don't know if it's the best way, but it works for me. Maybe I should
 detect the previous value of LANG and then restore it.

 Sorry, it's

 LC_ALL=C

 and

 LC_ALL=es_ES.UTF-8

 Instead of LANG.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/303#comment:4>
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-devel mailing list