[LTP] [PATCH v4 1/2] net: Add tst_net_run helper

Alexey Kodanev alexey.kodanev@oracle.com
Fri Nov 16 12:51:11 CET 2018


Hi Petr,
On 13.11.2018 19:30, Petr Vorel wrote:
> and use it in tst_set_sysctl
> 
> + improve doc of tst_rhost_run()
> 
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> Reviewed-by: Alexey Kodanev <alexey.kodanev@oracle.com>
> ---
> Hi,
> 
> Maybe we could signal where error occurred:
> * return 0: ok on both lhost and rhost
> * return 1: failure on lhost
> * return 2: failure on rhost
> * return 3: failure on both lhost and rhost
> 

It is only when there is no "safe" option, right? when doing cleanup?
Could we print TWARN message inside tst_net_run() in such case?




More information about the ltp mailing list