diff options
-rwxr-xr-x | tests/run-test.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/run-test.sh b/tests/run-test.sh index afda064..28a0071 100755 --- a/tests/run-test.sh +++ b/tests/run-test.sh @@ -1,4 +1,8 @@ -for ((i=1;i<=18;i++)) +NUM_CLIENTS=${1:-18} + +for ((i=1;i<=NUM_CLIENTS;i++)) do ip netns exec c$i .././tiptorrent-client 10.141.10.1 TEST & done + +wait $(jobs -p) |