[LTP] [RFC PATCH 6/9] testcases: wc: Add "unrecognized option" as TCONF

Petr Vorel pvorel@suse.cz
Mon Jun 4 17:33:24 CEST 2018


Hi Mylène,

> In case we are using Busybox, for example, some options
> may not available and leads to a test failure.
> This commit adds "unrecognized option" parsing to return the
> test as a TCONF and not FAIL anymore.
...
>  testcases/commands/wc/wc01.sh | 2 +-
...
> -		grep -q -E "unknown option|invalid option" temp
> +		grep -q -E "unknown option|invalid option|unrecognized option" temp

Pushed, thanks!


Kind regards,
Petr


More information about the ltp mailing list