From: Michal Sojka Date: Wed, 16 Feb 2011 12:12:17 +0000 (+0100) Subject: Final version of CANalyzer test X-Git-Tag: fix-allnoconfig~195 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/037852ddff6486e084b6524a2fb9f5320268aabd Final version of CANalyzer test --- diff --git a/gw-tests/nop-canalyzer.sh b/gw-tests/nop-canalyzer.sh index f99e288..8f1cab7 100755 --- a/gw-tests/nop-canalyzer.sh +++ b/gw-tests/nop-canalyzer.sh @@ -1,8 +1,5 @@ #!/bin/bash -if ! [ "$INTERACTIVE" ]; then echo "Skipping interactive test $0"; exit 0; fi - - . lib.sh COUNT=2500 @@ -12,6 +9,8 @@ wait_for_key() { } main() { + if ! [ "$INTERACTIVE" ]; then echo "Skipping interactive test $0"; exit 0; fi + sshgw cangw -A -s can0 -d can1 latester -d can0 -d can1 -d can2 -c $COUNT $(traffic_and_length 2) -n len2 wait_for_key @@ -33,15 +32,20 @@ plot_cmds() { echo "set logscale xy" fi cat <