[postgis-tickets] [PostGIS] #2505: dumper-shp.prj: No such file or directory .. ok on bots
PostGIS
trac at osgeo.org
Thu Oct 10 08:00:33 PDT 2013
#2505: dumper-shp.prj: No such file or directory .. ok on bots
-----------------------------------+----------------------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.2.0
Component: build/upgrade/install | Version: trunk
Keywords: |
-----------------------------------+----------------------------------------
Comment(by strk):
Now I see one problem with the "diff" subroutine. Indeed the caller
expects it to return a diff as a sign of failure, which isn't possible
when one of the files isn't found:
{{{
my $diff = diff($expected, $obtained);
if ( $diff )
{
open(FILE, ">$diffile");
print FILE $diff;
close(FILE);
fail("diff expected obtained", $diffile);
return 0;
}
}}}
That kind of block should change to allow "diff" to return other kind of
failures..
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2505#comment:2>
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