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 3f9ef7c..3eefa5e 100644 (file)
@@ -116,7 +116,7 @@ plot() {
 #    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