[LTP] [PATCH 1/1] network/rdist01: Use correct variables

Petr Vorel pvorel@suse.cz
Tue Feb 28 22:20:13 CET 2017


> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  testcases/network/tcp_cmds/rdist/rdist01 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

> diff --git a/testcases/network/tcp_cmds/rdist/rdist01 b/testcases/network/tcp_cmds/rdist/rdist01
> index 4bc239f98..9fdaf1bed 100755
> --- a/testcases/network/tcp_cmds/rdist/rdist01
> +++ b/testcases/network/tcp_cmds/rdist/rdist01
> @@ -135,10 +135,10 @@ check_result()
>                  TOTAL_SUM=$(( $TOTAL_SUM + $i ))
>              done
>              if [ $TOTAL_SUM -eq $LSUM ]; then
> -                tst_resm TINFO "Success rdist in $c_ruser@$c_rhost "
> +                tst_resm TINFO "Success rdist in $c_ruser@$c_rhost"
>                  rsh -n -l $c_ruser $c_rhost "rm -rf $FILES"
>              else
> -                end_testcase "Wrong sum doing rdist in $curr_ruser@$curr_rhost"
> +                end_testcase "Wrong sum doing rdist in $c_ruser@$c_rhost"
>              fi
>         done
>     done

Ping. Or is it needed to rewrite test?


Kind regards,
Petr


More information about the ltp mailing list