On Wed, 2009-12-02 at 00:43 +0100, Jiri Palecek wrote: 
> Hello,
> 
> This patch reverses the success check in echo01, obviously the checksums 
> being equal is the right outcome.
> 
> This is the version with the changes Mike Frysinger requested.
> 
> Regards
>     Jiri Palecek
> 
> Signed-off-by: Jiri Palecek <[email protected]>

Thanks.

Regards--
Subrata

> ---
>  testcases/network/tcp_cmds/echo/echo01 |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/testcases/network/tcp_cmds/echo/echo01 
> b/testcases/network/tcp_cmds/echo/echo01
> index eb798ae..2bc4621 100755
> --- a/testcases/network/tcp_cmds/echo/echo01
> +++ b/testcases/network/tcp_cmds/echo/echo01
> @@ -95,7 +95,7 @@ do_test()
>          while [ $NUM -lt $NUMPROCESSES ]
>          do
>              csum2=$(sum "$TCtmp/${ECHOFILE}${NUM}" | awk '{print $1}')
> -            if [ "$csum1" = "$csum2" ]; then
> +            if [ "$csum1" != "$csum2" ]; then
>                  end_testcase "Checksums differ in loop $TST_COUNT"
>              fi
>              NUM=$(( $NUM + 1 ))


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to