OSDN Git Service

Fix: ip, sessionless module test
author0809216 <0809216@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Wed, 13 Oct 2010 06:12:48 +0000 (06:12 +0000)
committer0809216 <0809216@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Wed, 13 Oct 2010 06:12:48 +0000 (06:12 +0000)
git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10364 1ed66053-1c2d-0410-8867-f7571e6e31d3

test/script/module-protocol-ip/ip-43.sh
test/script/module-protocol-sessionless/sessionless-29.sh

index da17e57..cc82a0a 100755 (executable)
@@ -26,14 +26,14 @@ then
 fi
 
 RET=`$L7VSADM -V -n | grep "TCP 127.0.0.1:40001"`
-if [ "$RET" != "TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/a/b/c/../d/e;f?g=h&i=%FF%00#jk'" ]
+if [ "$RET" != "TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/a/b/c/../d/e;f?g=h&i=%FF%00#jk' --statistic 0" ]
 then
         echo "Test failed: $L7VSADM -V -n | grep TCP 127.0.0.1:40001"
         exit 1
 fi
 
 RET=`$L7VSADM -V -n | grep "TCP 127.0.0.1:40002"`
-if [ "$RET" != "TCP 127.0.0.1:40002 ip rr --timeout 3600 --no-reschedule --sorry-uri '/a/b/c/../d/e;f?g=h&i=%FF%00#jk'" ]
+if [ "$RET" != "TCP 127.0.0.1:40002 ip rr --timeout 3600 --no-reschedule --sorry-uri '/a/b/c/../d/e;f?g=h&i=%FF%00#jk' --statistic 0" ]
 then
         echo "Test failed: $L7VSADM -V -n | grep TCP 127.0.0.1:40002"
         exit 1
index 4d217fe..e873fde 100755 (executable)
@@ -26,14 +26,14 @@ then
 fi
 
 RET=`$L7VSADM -V -n | grep "TCP 127.0.0.1:40001"`
-if [ "$RET" != "TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/a/b/c/../d/e;f?g=h&i=%FF%00#jk'" ]
+if [ "$RET" != "TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/a/b/c/../d/e;f?g=h&i=%FF%00#jk' --statistic 0" ]
 then
         echo "Test failed: $L7VSADM -V -n | grep TCP 127.0.0.1:40001"
         exit 1
 fi
 
 RET=`$L7VSADM -V -n | grep "TCP 127.0.0.1:40002"`
-if [ "$RET" != "TCP 127.0.0.1:40002 ip rr --timeout 3600 --no-reschedule --sorry-uri '/a/b/c/../d/e;f?g=h&i=%FF%00#jk'" ]
+if [ "$RET" != "TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/a/b/c/../d/e;f?g=h&i=%FF%00#jk' --statistic 0" ]
 then
         echo "Test failed: $L7VSADM -V -n | grep TCP 127.0.0.1:40002"
         exit 1