From: Tom Lane Date: Fri, 8 Sep 2017 18:01:51 +0000 (-0400) Subject: Fix more portability issues in new pgbench TAP tests. X-Git-Tag: REL_11_BETA1~1645 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=933851033becf0848e0bb903f310bbd725e19489;p=postgresql Fix more portability issues in new pgbench TAP tests. Strike two on the --bad-option test. Three strikes and it's out. Fabien Coelho, per buildfarm --- diff --git a/src/bin/pgbench/t/002_pgbench_no_server.pl b/src/bin/pgbench/t/002_pgbench_no_server.pl index 631aa73ed3..d6b3d4f926 100644 --- a/src/bin/pgbench/t/002_pgbench_no_server.pl +++ b/src/bin/pgbench/t/002_pgbench_no_server.pl @@ -26,7 +26,7 @@ my @options = ( # name, options, stderr checks [ 'bad option', '-h home -p 5432 -U calvin -d --bad-option', - [ qr{unrecognized option}, qr{--help.*more information} ] ], + [ qr{(unrecognized|illegal) option}, qr{--help.*more information} ] ], [ 'no file', '-f no-such-file', [qr{could not open file "no-such-file":}] ],