projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d63b7
)
Fix more portability issues in new pgbench TAP tests.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 8 Sep 2017 18:01:51 +0000
(14:01 -0400)
committer
Tom 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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pgbench/t/002_pgbench_no_server.pl
b/src/bin/pgbench/t/002_pgbench_no_server.pl
index 631aa73ed308a7db81c35696aaeec80233b1c1d9..d6b3d4f92623567aaadb6facac5f255222c43887 100644
(file)
--- 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":}] ],