summaryrefslogtreecommitdiffstats
path: root/t/t12_full_duplex.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/t12_full_duplex.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/t12_full_duplex.sh')
-rwxr-xr-xt/t12_full_duplex.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/t12_full_duplex.sh b/t/t12_full_duplex.sh
new file mode 100755
index 0000000..f159921
--- /dev/null
+++ b/t/t12_full_duplex.sh
@@ -0,0 +1,13 @@
+#!/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 --full-duplex -i 1 -t 2
+