Opened 9 years ago

Closed 9 years ago

#3297 closed defect (fixed)

[raster] check_gdal regress fails if gdal_enabled_drivers already has drivers

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 2.2.0
Component: raster Version: master
Keywords: Cc:

Description (last modified by robe)

I thought I complained about this already, but can't find the ticket.

Anyway on my windows box where I've got GDAL_DRIVERS set, check_gdal always fails.

 check_gdal .. failed (diff expected obtained: /projects/postgis/tmp/2.2_pg9.4w64/test_1_diff)

On closer inspection, it seems the first test runs without setting drivers, and assumes the user is at the default state of — no drivers and it also checks end state to assuming again user is running without drivers. This of course is not true when I launch my instances with something like

@SET GDAL_DRIVERS=something

or have in postgresql conf to have this set.

This might only be an issue in PostGIS 2.2 since we started using raster GUCS in this, and this is testing the raster gucs.

Change History (3)

comment:1 by robe, 9 years ago

Description: modified (diff)

comment:2 by robe, 9 years ago

Summary: check_gdal regress fails if gdal_enabled_drivers already has drivers[raster] check_gdal regress fails if gdal_enabled_drivers already has drivers

ah found it was at #2988 and was closed as a won't fix. In 2.2 we can fix it though. Working on a fix now.

comment:3 by robe, 9 years ago

Resolution: fixed
Status: newclosed

okay hopefully should be fixed at r14116 I'll reopen if winnie or debbie or travis complain.

Note: See TracTickets for help on using tickets.