]> granicus.if.org Git - postgresql/commitdiff
SSL tests: Silence pg_ctl output
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 12 Dec 2014 02:32:30 +0000 (21:32 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 12 Dec 2014 02:32:30 +0000 (21:32 -0500)
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

index 79af06a812a4de78e4dd3598c08beaedb02b99b0..1579dc9137a7113e061e6470ab2645990cebeb94 100644 (file)
@@ -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";
 }