[LTP] [PATCH] tst_netload: new options and improvemnts

Alexey Kodanev alexey.kodanev@oracle.com
Mon Feb 27 12:26:54 CET 2017


On 01/30/2017 05:02 PM, Alexey Kodanev wrote:
> * Add getopts parsing, make them transparent to 'netstress' tool
>
> * cat 'netstress' output only on failure (not expected result)
>
> * remove 'ping' type, ICMP traffic can be generated with tst_ping()
>
> * tst_netload() sets TPASS/TFAIL flags depending on '-e' parameter --
>   expected result.
>
> * allow to overwrite most significant parameters with environment
>   variables:
>   'TST_NETLOAD_CLN_NUMBER' -- number of clients,
>   'TST_NETLOAD_CLN_REQUESTS' -- client requests,
>   'TST_NETLOAD_MAX_SRV_REPLIES' -- max server replies after which
>   TCP connection will be closed.

Applied.



More information about the ltp mailing list