summaryrefslogtreecommitdiff
path: root/user/perl-dbd-pg/fix-tests.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-11 22:54:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-11 22:54:05 +0000
commit26a49a2943f35d8ae46cc176371b0dba490f6bdb (patch)
tree18bb49dfd90e7e810964c7ab01d1f94671727653 /user/perl-dbd-pg/fix-tests.patch
parent80feb65146bf3619875698260c1a5b1999080296 (diff)
downloadpackages-26a49a2943f35d8ae46cc176371b0dba490f6bdb.tar.gz
packages-26a49a2943f35d8ae46cc176371b0dba490f6bdb.tar.bz2
packages-26a49a2943f35d8ae46cc176371b0dba490f6bdb.tar.xz
packages-26a49a2943f35d8ae46cc176371b0dba490f6bdb.zip
user/perl-dbd-pg: bump to 3.8.1 for >= 10 support, fix tests
Diffstat (limited to 'user/perl-dbd-pg/fix-tests.patch')
-rw-r--r--user/perl-dbd-pg/fix-tests.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/perl-dbd-pg/fix-tests.patch b/user/perl-dbd-pg/fix-tests.patch
new file mode 100644
index 000000000..fd977b05c
--- /dev/null
+++ b/user/perl-dbd-pg/fix-tests.patch
@@ -0,0 +1,13 @@
+--- DBD-Pg-3.8.1/t/dbdpg_test_setup.pl.old 2019-07-06 15:16:37.000000000 +0000
++++ DBD-Pg-3.8.1/t/dbdpg_test_setup.pl 2019-07-11 22:52:13.898484394 +0000
+@@ -425,10 +425,6 @@
+ if ($info =~ /but is not empty/) {
+ ## Assume this is already good to go
+ }
+- elsif ($info !~ /pg_ctl/) {
+- $@ = "initdb did not give a pg_ctl string: $info";
+- last GETHANDLE; ## Fail - bad output
+- }
+
+ ## Which user do we connect as?
+ if (!$su and $info =~ /owned by user "(.+?)"/) {