From 29234aa6f86d4013f3abff57afaf9058272f7f09 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 1 Dec 2010 15:45:45 +0100 Subject: [PATCH] Make vcan and vcans tests comparable --- gw-tests/vcan.sh | 6 +++--- gw-tests/vcans.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gw-tests/vcan.sh b/gw-tests/vcan.sh index 7d01e82..a96cac4 100755 --- a/gw-tests/vcan.sh +++ b/gw-tests/vcan.sh @@ -2,7 +2,7 @@ . lib.sh -numjobs=`seq 0 2 10` +numjobs=`seq 0 2 12` main() { sshgw 'ip link add dev vcan0 type vcan && ip link set vcan0 up' @@ -28,9 +28,9 @@ set xlabel "Time [{/Symbol m}s]" set ylabel "Latency profile [messages]" plot [0:1000] [1:$COUNT] \\ EOF - lt=1 + lt=2 for i in $numjobs; do - echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$i GW jobs on vcan\"" + echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$((i+2)) GW jobs, 1 vcan\"" lt=$((lt+1)) done } diff --git a/gw-tests/vcans.sh b/gw-tests/vcans.sh index 153529d..6c3cada 100755 --- a/gw-tests/vcans.sh +++ b/gw-tests/vcans.sh @@ -2,7 +2,7 @@ . lib.sh -numjobs=`seq 1 2 10` +numjobs=" 1 `seq 2 2 10`" main() { for i in $numjobs; do @@ -30,7 +30,7 @@ plot [0:1000] [1:$COUNT] \\ EOF lt=1 for i in $numjobs; do - echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$i GW jobs\"" + echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$i GW jobs, $((i-1)) vcans\"" lt=$((lt+1)) done } -- 2.39.2