From: Peter Eisentraut Date: Fri, 12 Dec 2014 02:32:30 +0000 (-0500) Subject: SSL tests: Silence pg_ctl output X-Git-Tag: REL9_5_ALPHA1~1073 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce37eff06df66dcd2091c76c0d29178b55e1e407;p=thirdparty%2Fpostgresql.git 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. --- 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"; }