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
This commit is contained in:
Tom Lane 2017-09-08 14:01:51 -04:00
parent 77d63b7eaf
commit 933851033b

View 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":}] ],