pgsql: Avoid assuming that we know the spelling of getopt_long's error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Avoid assuming that we know the spelling of getopt_long's error
Date: 2019-01-18 00:31:43
Message-ID: E1gkI4V-0001Dc-93@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/43404015955804dd6ff10563f4f78f5f352dbe25

Modified Files
--------------
src/bin/pgbench/t/002_pgbench_no_server.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2019-01-18 00:59:49 Re: pgsql: Restrict the use of temporary namespace in two-phase transaction
Previous Message Michael Paquier 2019-01-18 00:26:34 Re: pgsql: Remove references to Majordomo