summaryrefslogtreecommitdiffstats
path: root/t/t9_parallel.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:20:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:20:54 +0000
commit7c720bec5600a9e607c875c670ca30ed351fa4ba (patch)
treec38c9bedf07616180feee6b91a1dbea038500b54 /t/t9_parallel.sh
parentInitial commit. (diff)
downloadiperf-7c720bec5600a9e607c875c670ca30ed351fa4ba.tar.xz
iperf-7c720bec5600a9e607c875c670ca30ed351fa4ba.zip
Adding upstream version 2.1.9+dfsg.upstream/2.1.9+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/t9_parallel.sh')
-rwxr-xr-xt/t9_parallel.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/t9_parallel.sh b/t/t9_parallel.sh
new file mode 100755
index 0000000..4dcab5d
--- /dev/null
+++ b/t/t9_parallel.sh
@@ -0,0 +1,12 @@
+#!/bin/bash -e
+. $(dirname $0)/base.sh
+
+# usage:
+# run_iperf -s server args -c client args
+#
+# client args should contain $ip or -V $ip6
+# results returned in $results
+
+run_iperf \
+ -s --parallel 4 -i 1 -t 3 \
+ -c $ip -P 4 -i 1 -t 2