From ce37eff06df66dcd2091c76c0d29178b55e1e407 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 11 Dec 2014 21:32:30 -0500 Subject: [PATCH] SSL tests: Silence pg_ctl output Otherwise the pg_ctl start and stop messages get mixed up with the TAP output, which isn't technically valid. --- src/test/ssl/ServerSetup.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/ssl/ServerSetup.pm b/src/test/ssl/ServerSetup.pm index 79af06a812a..1579dc9137a 100644 --- a/src/test/ssl/ServerSetup.pm +++ b/src/test/ssl/ServerSetup.pm @@ -90,7 +90,7 @@ sub switch_server_cert # restart_test_server() because that overrides listen_addresses to only all # Unix domain socket connections. - system_or_bail 'pg_ctl', 'stop', '-D', "$tempdir/pgdata", '-w'; - system_or_bail 'pg_ctl', 'start', '-D', "$tempdir/pgdata", '-w', '-l', + system_or_bail 'pg_ctl', 'stop', '-s', '-D', "$tempdir/pgdata", '-w'; + system_or_bail 'pg_ctl', 'start', '-s', '-D', "$tempdir/pgdata", '-w', '-l', "$tempdir/logfile"; }