6 RealServer1=RealServer1
7 RealServer1_ADDR=127.0.0.1
9 start_lighttpd -s $RealServer1 -a $RealServer1_ADDR -p $RealServer1_PORT
12 echo "Test failed: start_lighttpd RealServer1"
20 echo "Test failed: $L7VSD"
25 $L7VSADM -A -t 127.0.0.1:40001 -m ip
28 echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip"
32 RET=`$L7VSADM -a -t localhost: -m ip -r ${RealServer1_ADDR}:${RealServer1_PORT} 2>&1 | grep "PARSE ERROR : target endpoint parse error:invalid port number (0):localhost:"`
33 EXPECT="PARSE ERROR : target endpoint parse error:invalid port number (0):localhost:"
34 if [ "${RET}" != "${EXPECT}" ]
36 echo "Test failed: $L7VSADM -a -t localhost: -m ip -r ${RealServer1_ADDR}:${RealServer1_PORT}"