OSDN Git Service

fix English
author0809216 <0809216@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Fri, 8 Oct 2010 07:54:34 +0000 (07:54 +0000)
committer0809216 <0809216@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Fri, 8 Oct 2010 07:54:34 +0000 (07:54 +0000)
git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10357 1ed66053-1c2d-0410-8867-f7571e6e31d3

test/script/l7directord/l7directord-1-2-47.sh
test/script/l7directord/l7directord-3-2-1.sh
test/script/l7directord/l7directord-4-4-2.sh
test/script/l7directord/l7directord-4-4-4.sh

index c8d714f..1845836 100755 (executable)
@@ -22,7 +22,7 @@ do
        fi
        RET3=`$INIT_L7DIRECTORD configtest 2>&1`
        
-       # all result should be same.
+       # all result must be same.
        if [ "$RET1" != "$RET2" -o "$RET1" != "$RET3" ]
        then
                echo "Test failed: configtest result was not matched."
@@ -45,13 +45,13 @@ done
 RET1=`$L7DIRECTORD configtest 2>&1`
 if [ $? -eq 1 ]
 then
-        echo "Test failed: $L7DIRECTORD configtest should be no error."
+        echo "Test failed: $L7DIRECTORD configtest must be no error."
         exit 1
 fi
 RET2=`$L7DIRECTORD -t 2>&1`
 if [ $? -eq 1 ]
 then
-        echo "Test failed: $L7DIRECTORD -t should be no error."
+        echo "Test failed: $L7DIRECTORD -t must be no error."
         exit 1
 fi
 RET3=`$INIT_L7DIRECTORD configtest 2>&1`
@@ -64,7 +64,7 @@ fi
 EXPECT="Syntax OK"
 if [ "$RET1" != "$EXPECT" ]
 then
-        echo "Test failed: $L7DIRECTORD configtest should be Syntax OK."
+        echo "Test failed: $L7DIRECTORD configtest must be Syntax OK."
         exit 1
 fi
 
index 7716d4f..441142d 100755 (executable)
@@ -32,7 +32,7 @@ $INIT_L7DIRECTORD start
 # stop l7directord
 $INIT_L7DIRECTORD stop 
 
-# /usr/sbin/l7vsadm should be used
+# /usr/sbin/l7vsadm must be used
 grep " $L7VSADM -K -n" $dummylog > /dev/null 2>&1
 if [ $? -ne 0 ]
 then
@@ -49,7 +49,7 @@ $INIT_L7DIRECTORD start
 # stop l7directord
 $INIT_L7DIRECTORD stop 
 
-# /sbin/l7vsadm should be used
+# /sbin/l7vsadm must be used
 grep " /sbin/l7vsadm -K -n" $dummylog > /dev/null 2>&1
 if [ $? -ne 0 ]
 then
index 15f968d..52bcc2a 100755 (executable)
@@ -36,7 +36,7 @@ timeout_time=`echo $timeout_line | sed -e "s/^.* ..:..:\(..\).*/\1/" | xargs exp
 # this diff time will be same as checktimeout value.
 diff_time=`expr $timeout_time - $start_time`
 if [ $diff_time -ne 3 -a $diff_time -ne 4 ]; then
-        echo "Test failed: Timeout should occurred in 3 sec, but it passed $diff_time sec this time."
+        echo "Test failed: Timeout must occurred in 3 (or 4) sec, but it passed $diff_time sec this time."
         exit 1
 fi
 
index 13d2189..0c0a66f 100755 (executable)
@@ -36,7 +36,7 @@ timeout_time=`echo $timeout_line | sed -e "s/^.* ..:..:\(..\).*/\1/" | xargs exp
 # this diff time will be same as checktimeout value.
 diff_time=`expr $timeout_time - $start_time`
 if [ $diff_time -ne 3 -a $diff_time -ne 4 ]; then
-        echo "Test failed: Timeout should occurred in 3 sec, but it passed $diff_time sec this time."
+        echo "Test failed: Timeout must occurred in 3 (or 4) sec, but it passed $diff_time sec this time."
         exit 1
 fi