Re: pgbench: improve --help and --version parsing - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pgbench: improve --help and --version parsing
Date
Msg-id alpine.DEB.2.21.1807261837370.9380@lancre
Whole thread Raw
In response to Re: pgbench: improve --help and --version parsing  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgbench: improve --help and --version parsing
List pgsql-hackers
>> I do not understand what you mean by "reduce that to one single test". I
>> cannot see how to test stdouts equalities and contents' sanity in one single
>> test.
>
> I was wondering about reducing the number of tests to a strict minimum.
> At the end I think that I would just remove most of the tests you are
> adding here, they seem rather noisy..

Ok, if you remove tests, it can be done in less tests, obviously.

ISTM that some minimal sanity on the output would be useful. If some 
minimal common format is assumed, one re could check that the name of the 
program appears, and a few options are indeed describe. That could make 
one "like" test.

-- 
Fabien.


pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgbench: improve --help and --version parsing
Next
From: "Bossart, Nathan"
Date:
Subject: Re: BUG #15182: Canceling authentication due to timeout aka Denial ofService Attack