]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Fix Mhz->MHz
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 12 Apr 2010 12:04:04 +0000 (14:04 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 12 Apr 2010 12:04:04 +0000 (14:04 +0200)
tests/_lib.sh

index 3f9ef7c20ffcea288918e1dea61e81bc811b653c..3eefa5ecab4a3fa29288601432cd2d23d19fa26e 100644 (file)
@@ -116,7 +116,7 @@ plot() {
 #    for i in "${!PLOT_CMD[@]}"; do
     for i in 0; do
        cmd=`p`                 # Get plot commands
 #    for i in "${!PLOT_CMD[@]}"; do
     for i in 0; do
        cmd=`p`                 # Get plot commands
-       cmd=$(echo "$cmd" | sed -e "/set title/ s/[\"']\(.*\)[\"']/\"\1\\\\n($(kvers), CPU\\\\\\\\@${clk}Mhz)\"/")
+       cmd=$(echo "$cmd" | sed -e "/set title/ s/[\"']\(.*\)[\"']/\"\1\\\\n($(kvers), CPU\\\\\\\\@${clk}MHz)\"/")
        if [ -z "$OPT_NO_X11" ]; then
            echo "set terminal x11 enhanced; ${cmd}" | gnuplot -persist
        fi
        if [ -z "$OPT_NO_X11" ]; then
            echo "set terminal x11 enhanced; ${cmd}" | gnuplot -persist
        fi