]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/ethloadsend.sh
rtt-history is a separate test (with plot cmd only)
[can-benchmark.git] / tests / ethloadsend.sh
index 8a9fc166876f68f3f12bfef87400355cc336d3c1..0c3f7390a3b79da99d8a86cdbdcb3cf7242ee119 100755 (executable)
@@ -13,7 +13,7 @@ t() {
 
 
 
-PLOT_CMD='
+p() { cat <<EOF
 set title "Round-trip time with send ethernet load"
 set logscale y
 set grid
@@ -21,5 +21,5 @@ set xlabel "Time [{/Symbol m}s]"
 set ylabel "Latency profile [messages]"
 plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\
           "lincan-1000.dat" with lp title "Lincan"
-'
-
+EOF
+}