summaryrefslogtreecommitdiffstats
path: root/t/t7_n.sh
blob: c6547d844eae4fdd8b8bd239238c8bd79c0c6205 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 8     \
    -c $ip -P 1 -i 1 -n 1G