[LTP] [PATCH 2/3] lib: tst_rhost_run: new option -B for saving background log

Alexey Kodanev alexey.kodanev@oracle.com
Wed Nov 1 13:33:06 CET 2017


On 10/31/2017 01:18 PM, Petr Vorel wrote:
>> Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
>> ---
>>  testcases/lib/test_net.sh |   10 ++++++----
>>  1 files changed, 6 insertions(+), 4 deletions(-)
> <snip>
>
>>  		case "$opt" in
>> -		b) [ "$TST_USE_NETNS" ] && pre_cmd="" || pre_cmd="nohup"
>> -		   post_cmd=" > /dev/null 2>&1 &"
>> +		b|B) [ "$TST_USE_NETNS" ] && pre_cmd="" || pre_cmd="nohup"
> Minor nit: use cmd=
> 		b|B) [ "$TST_USE_NETNS" ] && pre_cmd= || pre_cmd="nohup"

Corrected and pushed.

Thanks,
Alexey



More information about the ltp mailing list