Re: [PATCH v2 2/4] selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided

From: Willem de Bruijn
Date: Tue Jan 31 2023 - 08:35:57 EST


On Tue, Jan 31, 2023 at 8:08 AM Andrei Gherzan
<andrei.gherzan@xxxxxxxxxxxxx> wrote:
>
> Leaving unrecognized arguments buried in the output, can easily hide a
> CLI/script typo. Avoid this by exiting when wrong arguments are provided to
> the udpgso_bench test programs.
>
> Signed-off-by: Andrei Gherzan <andrei.gherzan@xxxxxxxxxxxxx>

I'm on the fence on this. Test binaries are not necessarily robust
against bad input. If you insist.

When sending patches to net, please always add a Fixes tag.