summaryrefslogtreecommitdiff
path: root/benchmarks/netperf/files/patch-doc_examples_find__max__burst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/netperf/files/patch-doc_examples_find__max__burst.sh')
-rw-r--r--benchmarks/netperf/files/patch-doc_examples_find__max__burst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/netperf/files/patch-doc_examples_find__max__burst.sh b/benchmarks/netperf/files/patch-doc_examples_find__max__burst.sh
new file mode 100644
index 000000000000..e20308c2c322
--- /dev/null
+++ b/benchmarks/netperf/files/patch-doc_examples_find__max__burst.sh
@@ -0,0 +1,11 @@
+--- doc/examples/find_max_burst.sh.orig 2017-09-21 17:32:54 UTC
++++ doc/examples/find_max_burst.sh
+@@ -6,7 +6,7 @@
+ LAST_TPS=0
+ BURST=1
+ LAST_BURST=0
+-NETPERF=${NETPERF:="netperf"}
++NETPERF="%%PREFIX%%/bin/netperf"
+
+ TMP_TPS=`$NETPERF -t UDP_RR -P 0 -H $1 -- -b $BURST -D -o throughput -e 1 -s 1M -S 1M`
+