Hi,

The operator for string unequivalent check is not '-ne' but '!='.

Signed-off-by: Mitsuru Chinen <[EMAIL PROTECTED]>
---
 testcases/network/ipv6/finger6/finger601 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/network/ipv6/finger6/finger601 
b/testcases/network/ipv6/finger6/finger601
index 2c046cc..841d7e3 100755
--- a/testcases/network/ipv6/finger6/finger601
+++ b/testcases/network/ipv6/finger6/finger601
@@ -59,12 +59,12 @@ do_setup ()
    [ "$LUSER" = "root" ] || end_testcase "MUST BE root to run the test!"
 
    FINGER=`netstat -an | grep "::79" |awk '{print $6}'`
-   if [ $FINGER -ne "LISTEN" ]; then
+   if [ $FINGER != "LISTEN" ]; then
       end_testcase "Please start fingerd for IPv6 locally."
    fi
 
    FINGER=`rsh -n $RHOST netstat -a |grep "::79"|awk '{print $6}'`
-   if [ $FINGER -ne "LISTEN" ]; then
+   if [ $FINGER != "LISTEN" ]; then
       end_testcase "Please start fingerd for IPv6 on remote host."
    fi
 }
-- 
1.5.5.1


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to