summaryrefslogtreecommitdiffstats
path: root/t/t15_udp_enhanced.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xt/t15_udp_enhanced.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/t15_udp_enhanced.sh b/t/t15_udp_enhanced.sh
new file mode 100755
index 0000000..4706c50
--- /dev/null
+++ b/t/t15_udp_enhanced.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 -u -i 1 -t 3 -e \
+ -c $ip -P 1 -u -b 10m -i 1 -t 2 -e