aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-01-17 19:31:03 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2019-01-17 19:31:27 -0500
commit251f57460f123f28089ff23a7e43990618dd05a8 (patch)
treeb8257109e6d2db6ce3dda46f0ddcc7cde665ec0c /src
parentc5660e0aa52d5df27accd8e5e97295cf0e64f7d4 (diff)
downloadpostgresql-251f57460f123f28089ff23a7e43990618dd05a8.tar.gz
postgresql-251f57460f123f28089ff23a7e43990618dd05a8.zip
Avoid assuming that we know the spelling of getopt_long's error messages.
I've had enough of "fixing" this test case. Whatever value it has is limited to verifying that pgbench fails for an unrecognized switch, and we don't need to assume anything about what getopt_long prints in order to do that. Discussion: https://postgr.es/m/9427.1547701450@sss.pgh.pa.us
Diffstat (limited to 'src')
-rw-r--r--src/bin/pgbench/t/002_pgbench_no_server.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pgbench/t/002_pgbench_no_server.pl b/src/bin/pgbench/t/002_pgbench_no_server.pl
index b78057d0509..69a6d03bb3f 100644
--- a/src/bin/pgbench/t/002_pgbench_no_server.pl
+++ b/src/bin/pgbench/t/002_pgbench_no_server.pl
@@ -66,7 +66,7 @@ my @options = (
[
'bad option',
'-h home -p 5432 -U calvin -d --bad-option',
- [ qr{(unrecognized|illegal) option}, qr{--help.*more information} ]
+ [qr{--help.*more information}]
],
[
'no file',