summaryrefslogtreecommitdiff
path: root/user/perl-dbd-pg/fix-tests.patch
diff options
context:
space:
mode:
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 "(.+?)"/) {