• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revisãoff0dd5ed9efc45138813c1d2dde7f64b287d54cd (tree)
Hora2010-10-22 10:24:10
Autor6638678 <6638678@1ed6...>
Commiter6638678

Mensagem de Log

bug fix

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

Mudança Sumário

Diff

--- a/test/script/PT/C/C-10-IPv6v6.sh
+++ b/test/script/PT/C/C-10-IPv6v6.sh
@@ -1,6 +1,6 @@
11 #!/bin/bash
22 . ${SET_DEFAULT_CONF}
3-\cp ./materials/C-10-IPv4v4-l7directord.cf ${L7DIRECTORD_CONF_DIR}/l7directord.cf
3+\cp ./materials/C-10-IPv6v6-l7directord.cf ${L7DIRECTORD_CONF_DIR}/l7directord.cf
44
55 VS="[::1]"
66 RS="[::1]"
--- a/test/script/PT/C/C-8-IPv6v6.sh
+++ b/test/script/PT/C/C-8-IPv6v6.sh
@@ -1,6 +1,6 @@
11 #!/bin/bash
22 . ${SET_DEFAULT_CONF}
3-\cp ./materials/C-8-IPv4v4-l7directord.cf ${L7DIRECTORD_CONF_DIR}/l7directord.cf
3+\cp ./materials/C-8-IPv6v6-l7directord.cf ${L7DIRECTORD_CONF_DIR}/l7directord.cf
44
55 VS="[::1]"
66 RS="[::1]"
--- a/test/script/snmpagent/snmpagent-10.sh
+++ b/test/script/snmpagent/snmpagent-10.sh
@@ -47,14 +47,13 @@ then
4747 fi
4848
4949 #Make 10M.dat in materials
50-dd if=/dev/zero of=materials/10M.dat bs=1024 count=10240
50+dd if=/dev/zero of=${TMP_DIR}/10M.dat bs=1024 count=10240
5151
5252 #Get The File
53-$WGET http://127.0.0.1:40001 --post-file materials/10M.dat -t 1
53+$WGET http://127.0.0.1:40001 --post-file ${TMP_DIR}/10M.dat -t 1
5454 if [ $? -ne 0 ]
5555 then
5656 echo "Test failed: $WGET http://127.0.0.1:40001 --post-file 10M.dat"
57- \rm -f materials/10M.dat
5857 exit 1
5958 fi
6059
@@ -68,8 +67,6 @@ RET=`cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log | grep -e "SNMPv2-SMI::e
6867 if [ -z "${RET}" ]
6968 then
7069 echo "Test failed: cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log"
71- \rm -f materials/10M.dat
7270 exit 1
7371 fi
74-\rm -f materials/10M.dat
7572 exit 0
--- a/test/script/snmpagent/snmpagent-9.sh
+++ b/test/script/snmpagent/snmpagent-9.sh
@@ -47,14 +47,13 @@ then
4747 fi
4848
4949 #Make 10M.dat in materials
50-dd if=/dev/zero of=materials/10M.dat bs=1024 count=10240
50+dd if=/dev/zero of=${TMP_DIR}/10M.dat bs=1024 count=10240
5151
5252 #Get The File
53-$WGET http://127.0.0.1:40001 --post-file materials/10M.dat -t 1
53+$WGET http://127.0.0.1:40001 --post-file ${TMP_DIR}/10M.dat -t 1
5454 if [ $? -ne 0 ]
5555 then
5656 echo "Test failed: $WGET http://127.0.0.1:40001 --post-file 10M.dat"
57- \rm -f materials/10M.dat
5857 exit 1
5958 fi
6059 usleep 1000000
@@ -65,10 +64,7 @@ RET=`cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log | grep -e "SNMPv2-SMI::e
6564 if [ -z "${RET}" ]
6665 then
6766 echo "Test failed: cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log"
68- \rm -f materials/10M.dat
6967 exit 1
7068 fi
7169
72-\rm -f materials/10M.dat
73-
7470 exit 0