[LTP] [PATCH 1/2] network/tcp_cmds/rwho: fix/cleanup test

Alexey Kodanev alexey.kodanev@oracle.com
Wed Jul 27 13:02:36 CEST 2016


On 07/26/2016 05:11 PM, Cyril Hrubis wrote:
> Hi!
>> +for i in $(seq 1 $TST_TOTAL); do
>> +	do_test
>> +	tst_resm TPASS "Test $i/$TST_COUNT complete"
>> +done
> I do not understand why we run the test in a loop now 25 times,
> otherwise it looks good.

We always do this, what we had before is a while loop:

     while [ $TST_COUNT -le $NUMLOOPS ]; do
        ...

     where NUMLOOPS was 25.

Thanks,
Alexey



More information about the ltp mailing list