From: Subrata <sub...@us...> - 2007-11-13 07:44:07
|
Update of /cvsroot/ltp/ltp/testcases/network/stress/tcp/multi-sameport In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv4547/ltp/testcases/network/stress/tcp/multi-sameport Modified Files: tcp4-multi-sameport01 Log Message: This patch allows network stress tests to be run on different subnet configuration by using some macros for IP addresses configuration. It doesn't affect default values. Submitted by Carmelo AMOROSO <car...@st...> Index: tcp4-multi-sameport01 =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/network/stress/tcp/multi-sameport/tcp4-multi-sameport01,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tcp4-multi-sameport01 24 Oct 2005 20:18:23 -0000 1.1 --- tcp4-multi-sameport01 13 Nov 2007 07:44:02 -0000 1.2 *************** *** 193,197 **** 4) # Network portion of the IPv4 address ! network_part="10.0.0" # Netmask of the IPv4 network --- 193,197 ---- 4) # Network portion of the IPv4 address ! network_part=${IPV4_NETWORK:-"10.0.0"} # Netmask of the IPv4 network *************** *** 199,204 **** # Host portion of the IPv4 address ! lhost_host_part="2" # local host ! rhost_host_part="1" # remote host # Set IPv4 addresses to the interfaces --- 199,204 ---- # Host portion of the IPv4 address ! lhost_host_part=${LHOST_IPV4_HOST:-"2"} # local host ! rhost_host_part=${RHOST_IPV4_HOST:-"1"} # remote host # Set IPv4 addresses to the interfaces |