summaryrefslogtreecommitdiffstats
path: root/t/t13_reverse.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t13_reverse.sh')
-rwxr-xr-xt/t13_reverse.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/t13_reverse.sh b/t/t13_reverse.sh
new file mode 100755
index 0000000..8b0292a
--- /dev/null
+++ b/t/t13_reverse.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 --reverse -i 1 -t 2
+