diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:25:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:25:49 +0000 |
commit | 04fc174d50fd19d6ae78fd2fd2faae221acff807 (patch) | |
tree | 23e5482ac4eb332df0fc69bf932118f0d4e42eb0 /t/t15_udp_enhanced.sh | |
parent | Adding upstream version 2.1.9+dfsg. (diff) | |
download | iperf-upstream.tar.xz iperf-upstream.zip |
Adding upstream version 2.2.0+dfsg.upstream/2.2.0+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/t15_udp_enhanced.sh')
-rwxr-xr-x | t/t15_udp_enhanced.sh | 12 |
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 |