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

Alexey Kodanev
2016-07-27T11:02:36Z

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