summaryrefslogtreecommitdiffstats
path: root/t/t11_tradeoff.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/t11_tradeoff.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/t11_tradeoff.sh')
-rwxr-xr-xt/t11_tradeoff.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/t11_tradeoff.sh b/t/t11_tradeoff.sh
new file mode 100755
index 0000000..b962371
--- /dev/null
+++ b/t/t11_tradeoff.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 -P 1 -i 1 -t 3 \
+ -c $ip -P 1 --tradeoff -L $lport -i 1 -t 2