Avoid assuming that we know the spelling of getopt_long's error messages.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 43404015955804dd6ff10563f4f78f5f352dbe25
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-01-18T00:31:28Z
Releases: 11.2
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

Files

PathChange+/−
src/bin/pgbench/t/002_pgbench_no_server.pl modified +1 −1

Discussion