update tests to specify maximum number of redirections
parent
f6f3984be7
commit
6c910f2652
|
@ -13,6 +13,7 @@ fi
|
|||
|
||||
start () {
|
||||
NUM_CLIENTS=3
|
||||
NUM_REDIRECT=3
|
||||
|
||||
ip netns add srv
|
||||
ip netns add br
|
||||
|
@ -100,7 +101,7 @@ start () {
|
|||
|
||||
ip -net srv addr add 10.141.10.1/24 dev veth0
|
||||
ip -net srv link set up dev veth0
|
||||
ip netns exec srv .././tiptorrent --max-clients $NUM_CLIENTS --redirect --root . &
|
||||
ip netns exec srv .././tiptorrent --max-clients $NUM_CLIENTS --redirect $NUM_REDIRECT --root . &
|
||||
|
||||
ip -net c1 addr add 10.141.10.2/24 dev veth0
|
||||
ip -net c1 link set up dev veth0
|
||||
|
|
Loading…
Reference in New Issue