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

Regina Obe lr at pcorp.us
Tue Sep 6 08:16:35 PDT 2016


Author: robe
Date: 2016-09-06 08:16:35 -0700 (Tue, 06 Sep 2016)
New Revision: 15072

Modified:
   trunk/regress/run_test.pl
Log:
load_outdb related tests fix for @INC change in perl
fix for PostGIS 2.3, patch from Sebastiaan Couwenberg for #3624

Modified: trunk/regress/run_test.pl
===================================================================
--- trunk/regress/run_test.pl	2016-09-06 14:42:11 UTC (rev 15071)
+++ trunk/regress/run_test.pl	2016-09-06 15:16:35 UTC (rev 15072)
@@ -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