From 324afc073ec74ee3c1a0a35ce3650d4cc210cc3b Mon Sep 17 00:00:00 2001 From: Jiri Palecek Date: Wed, 10 Jun 2009 13:39:24 +0200 Subject: [PATCH] Quote some arguments to [ in rdist01 --- testcases/network/tcp_cmds/rdist/rdist01 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/network/tcp_cmds/rdist/rdist01 b/testcases/network/tcp_cmds/rdist/rdist01 index e58d5243..795858a9 100755 --- a/testcases/network/tcp_cmds/rdist/rdist01 +++ b/testcases/network/tcp_cmds/rdist/rdist01 @@ -138,7 +138,7 @@ check_result() x=\$(( \$x + \$i )) done echo \$x` - if [ $TOTAL_SUM = $LSUM ]; then + if [ "$TOTAL_SUM" = "$LSUM" ]; then tst_resm TINFO "Success rdist in $c_ruser@$c_rhost " rsh -n -l $c_ruser $c_rhost "rm -rf $FILES $DIRECTORIES" else -- 2.11.4.GIT