]> granicus.if.org Git - postgresql/commitdiff
Fix more portability issues in new pgbench TAP tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Sep 2017 18:01:51 +0000 (14:01 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Sep 2017 18:01:51 +0000 (14:01 -0400)
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

index 631aa73ed308a7db81c35696aaeec80233b1c1d9..d6b3d4f92623567aaadb6facac5f255222c43887 100644 (file)
@@ -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":}] ],