• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

UltraMonkey-L7 V3(multi-thread implementation)


Commit MetaInfo

Révisionaeb10f0808be9bad462610c2977e7f4ed7905e7e (tree)
l'heure2010-11-09 11:51:04
Auteur6638678 <6638678@1ed6...>
Commiter6638678

Message de Log

bug fix.

git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10427 1ed66053-1c2d-0410-8867-f7571e6e31d3

Change Summary

Modification

--- a/test/script/PT/A/A-4.sh
+++ b/test/script/PT/A/A-4.sh
@@ -14,7 +14,6 @@ usleep 100000
1414
1515 #Check L7VSD Service
1616 RET=`pgrep l7vsd`
17-echo "$RET"
1817 if [ -z "${RET}" ]
1918 then
2019 echo "Test failed: pgrep l7vsd"
@@ -23,7 +22,6 @@ fi
2322
2423 #Check PID file
2524 RET1=`cat /var/run/l7vsd.pid | grep "$RET"`
26-
2725 if [ -z "${RET1}" ]
2826 then
2927 echo "Test failed: cat /var/run/l7vsd.pid | grep \"$RET1\""
@@ -37,6 +35,7 @@ then
3735 echo "Test failed: $INIT_L7VSD stop"
3836 exit 1
3937 fi
38+sleep 1
4039
4140 #check L7VSD Stoped
4241 RET2=`pgrep l7vsd`
--- a/test/script/PT/B/B-6-IPv4v4.sh
+++ b/test/script/PT/B/B-6-IPv4v4.sh
@@ -28,7 +28,7 @@ usleep 100000
2828 $L7VSADM -A -t $VS:40001 -m sessionless -s rr -u 100 -b $SS:50001 -f 0 -Q 200K -q 200k --tproxy
2929 if [ $? -ne 0 ]
3030 then
31- echo "Test failed: $L7VSADM -A -t $VS:40001 -m sessionless -s rr -u 100 -b $SS:50001 -f 0 -Q 200K -q 200k"
31+ echo "Test failed: $L7VSADM -A -t $VS:40001 -m sessionless -s rr -u 100 -b $SS:50001 -f 0 -Q 200K -q 200k --tproxy"
3232 exit 1
3333 fi
3434
--- a/test/script/PT/B/B-6-IPv6v4.sh
+++ b/test/script/PT/B/B-6-IPv6v4.sh
@@ -28,7 +28,7 @@ usleep 100000
2828 $L7VSADM -A -t $VS:40001 -m sessionless -s rr -u 100 -b $SS:50001 -f 0 -Q 200K -q 200k --tproxy
2929 if [ $? -ne 0 ]
3030 then
31- echo "Test failed: $L7VSADM -A -t $VS:40001 -m sessionless -s rr -u 100 -b $SS:50001 -f 0 -Q 200K -q 200k"
31+ echo "Test failed: $L7VSADM -A -t $VS:40001 -m sessionless -s rr -u 100 -b $SS:50001 -f 0 -Q 200K -q 200k --tproxy"
3232 exit 1
3333 fi
3434
--- a/test/script/PT/B/B-6-IPv6v6.sh
+++ b/test/script/PT/B/B-6-IPv6v6.sh
@@ -28,7 +28,7 @@ usleep 100000
2828 $L7VSADM -A -t $VS:40001 -m sessionless -s rr -u 100 -b $SS:50001 -f 0 -Q 200K -q 200k --tproxy
2929 if [ $? -ne 0 ]
3030 then
31- echo "Test failed: $L7VSADM -A -t $VS:40001 -m sessionless -s rr -u 100 -b $SS:50001 -f 0 -Q 200K -q 200k"
31+ echo "Test failed: $L7VSADM -A -t $VS:40001 -m sessionless -s rr -u 100 -b $SS:50001 -f 0 -Q 200K -q 200k --tproxy"
3232 exit 1
3333 fi
3434
--- a/test/script/PT/B/B-9-IPv4v4.sh
+++ b/test/script/PT/B/B-9-IPv4v4.sh
@@ -35,7 +35,7 @@ fi
3535 $L7VSADM -a -t $VS:40001 -m sessionless -r $RS:50001 --tproxy
3636 if [ $? -ne 0 ]
3737 then
38- echo "Test failed: $L7VSADM -A -t $VS:40001 -m sessionless -s rr"
38+ echo "Test failed: $L7VSADM -a -t $VS:40001 -m sessionless -r $RS:50001 --tproxy"
3939 exit 1
4040 fi
4141
--- a/test/script/PT/B/B-9-IPv6v4.sh
+++ b/test/script/PT/B/B-9-IPv6v4.sh
@@ -35,7 +35,7 @@ fi
3535 $L7VSADM -a -t $VS:40001 -m sessionless -r $RS:50001 --tproxy
3636 if [ $? -ne 0 ]
3737 then
38- echo "Test failed: $L7VSADM -A -t $VS:40001 -m sessionless -s rr"
38+ echo "Test failed: $L7VSADM -a -t $VS:40001 -m sessionless -r $RS:50001 --tproxy"
3939 exit 1
4040 fi
4141
--- a/test/script/PT/B/B-9-IPv6v6.sh
+++ b/test/script/PT/B/B-9-IPv6v6.sh
@@ -35,7 +35,7 @@ fi
3535 $L7VSADM -a -t $VS:40001 -m sessionless -r $RS:50001 --tproxy
3636 if [ $? -ne 0 ]
3737 then
38- echo "Test failed: $L7VSADM -A -t $VS:40001 -m sessionless -s rr"
38+ echo "Test failed: $L7VSADM -a -t $VS:40001 -m sessionless -r $RS:50001 --tproxy"
3939 exit 1
4040 fi
4141
--- a/test/script/common/stop_um_ps.sh
+++ b/test/script/common/stop_um_ps.sh
@@ -10,7 +10,7 @@ then
1010 LOG_FATAL "Can not stop l7vsd."
1111 exit 1
1212 fi
13- usleep 500000
13+ sleep 1
1414 if [ -n "`pgrep l7vsd`" ]
1515 then
1616 LOG_FATAL "Can not stop l7vsd."
@@ -22,7 +22,7 @@ if [ -n "`pgrep l7directord`" ]
2222 then
2323 ${INIT_L7DIRECTORD} stop > /dev/null 2>&1
2424 pkill -KILL l7directord > /dev/null 2>&1
25- usleep 500000
25+ sleep 1
2626 if [ -n "`pgrep l7directord`" ]
2727 then
2828 LOG_FATAL "Can not stop l7directord."