[postgis-tickets] r15073 - load_outdb related tests fix for @INC change in perl

Regina Obe lr at pcorp.us
Tue Sep 6 08:37:28 PDT 2016


Author: robe
Date: 2016-09-06 08:37:28 -0700 (Tue, 06 Sep 2016)
New Revision: 15073

Modified:
   branches/2.2/NEWS
   branches/2.2/regress/run_test.pl
Log:
load_outdb related tests fix for @INC change in perl
patch from Sebastiaan Couwenberg 
closes #3624 for PostGIS 2.2

Modified: branches/2.2/NEWS
===================================================================
--- branches/2.2/NEWS	2016-09-06 15:16:35 UTC (rev 15072)
+++ branches/2.2/NEWS	2016-09-06 15:37:28 UTC (rev 15073)
@@ -13,10 +13,13 @@
   - #3579, Crash in LWGEOM2GEOS
   - #3515, tiger_data not being backed up
   - #3602, perl as found by configure is not used 
-  			in tiger extension, postgis_sfcgal, address_standardizer  
+           in tiger extension, postgis_sfcgal, address_standardizer  
   - #3607, Fix inconsistency with multilinestring in
            ST_LocateBetweenElevations (Artur Zakirov)
   - #3608, Fix crash passing -W UTF-8 to shp2pgsql (Matt Amos)
+  - #3624, [raster] load_outdb related tests fail 
+           for 2.2.2 & 2.3.0-beta1 on Debian unstable
+           perl @INC fix (Sebastiaan Couwenberg)
 
 
 PostGIS 2.2.2
@@ -38,8 +41,8 @@
            platforms
   - #3460, ST_ClusterWithin 'Tolerance not defined' error after upgrade
   - #3490, Raster data restore issues, materialized views
-  		   Scripts postgis_proc_set_search_path.sql, rtpostgis_proc_set_search_path.sql
-  		   refere to http://postgis.net/docs/manual-2.2/RT_FAQ.html#faq_raster_data_not_restore
+           Scripts postgis_proc_set_search_path.sql, rtpostgis_proc_set_search_path.sql
+           refere to http://postgis.net/docs/manual-2.2/RT_FAQ.html#faq_raster_data_not_restore
   - #3426, failing POINT EMPTY tests on fun architectures
 
 PostGIS 2.2.1

Modified: branches/2.2/regress/run_test.pl
===================================================================
--- branches/2.2/regress/run_test.pl	2016-09-06 15:16:35 UTC (rev 15072)
+++ branches/2.2/regress/run_test.pl	2016-09-06 15:37:28 UTC (rev 15073)
@@ -22,7 +22,14 @@
 use Getopt::Long;
 use strict;
 
+##################################################################
+# Add . to @INC if removed for CVE-2016-1238
+##################################################################
+BEGIN {
+	push @INC, "." if(!grep /^\.$/, @INC);
+}
 
+
 ##################################################################
 # Usage ./run_test.pl <testname> [<testname>]
 #



More information about the postgis-tickets mailing list