From: Marcin Krol <hawk@tld-linux.org>
Date: Sun, 16 Aug 2020 15:09:24 +0000 (+0200)
Subject: - fix regress test
X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=18a773d8d92697f0295b18710c29ee7348c001c7;p=packages%2Fpostgresql.git

- fix regress test
---

diff --git a/postgresql-tests.patch b/postgresql-tests.patch
new file mode 100644
index 0000000..f931424
--- /dev/null
+++ b/postgresql-tests.patch
@@ -0,0 +1,10 @@
+--- ./src/test/regress/pg_regress.c.orig	2020-08-10 23:15:53.000000000 +0200
++++ ./src/test/regress/pg_regress.c	2020-08-16 15:50:06.439293508 +0200
+@@ -2408,6 +2408,7 @@
+ 		header(_("starting postmaster"));
+ 		snprintf(buf, sizeof(buf),
+ 				 "\"%s%spostgres\" -D \"%s/data\" -F%s "
++				 "-c \"log_directory=log\" "
+ 				 "-c \"listen_addresses=%s\" -k \"%s\" "
+ 				 "> \"%s/log/postmaster.log\" 2>&1",
+ 				 bindir ? bindir : "",