postgres.git / summary / log / commit / refs

commit    933851033becf0848e0bb903f310bbd725e19489
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Fri Sep 08 18:01:51 2017 +0000
First released in: 11.0

    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


src/bin/pgbench/t/002_pgbench_no_server.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pgbench/t/002_pgbench_no_server.pl b/src/bin/pgbench/t/002_pgbench_no_server.pl index 631aa73ed30..d6b3d4f9262 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":}] ], [parent: 77d63b7eafd4]