diff options
author | tiptorrent development team <tiptorrent@soleta.eu> | 2022-02-08 13:46:26 +0100 |
---|---|---|
committer | tiptorrent development team <tiptorrent@soleta.eu> | 2022-02-08 13:46:26 +0100 |
commit | 6c910f2652c0ac5d14568082748856c16e9ce33b (patch) | |
tree | e98e5ac1ea0d89502903381fe7b1f5f8c65831ad /tests | |
parent | f6f3984be782e6c42a320081e00533fa30b45140 (diff) |
update tests to specify maximum number of redirections
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/network-setup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/network-setup.sh b/tests/network-setup.sh index 4a19ead..c8bf18f 100755 --- a/tests/network-setup.sh +++ b/tests/network-setup.sh @@ -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 |