summaryrefslogtreecommitdiffstats
path: root/t/t11_tradeoff.sh
diff options
context:
space:
mode:
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