From f8bfdb29ed5ac039e63c0d4762373dcd3baa0f54 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 27 Aug 2009 19:42:03 +0200 Subject: [PATCH 1/1] rtt-history is a separate test (with plot cmd only) --- tests/{rtt.sh => 00-rtt.sh} | 0 tests/01-rtt-history.sh | 18 ++++++++++++++++++ tests/_lib.sh | 14 +++++++------- tests/ethflood64k-w2.sh | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+), 7 deletions(-) rename tests/{rtt.sh => 00-rtt.sh} (100%) create mode 100755 tests/01-rtt-history.sh create mode 100755 tests/ethflood64k-w2.sh diff --git a/tests/rtt.sh b/tests/00-rtt.sh similarity index 100% rename from tests/rtt.sh rename to tests/00-rtt.sh diff --git a/tests/01-rtt-history.sh b/tests/01-rtt-history.sh new file mode 100755 index 0000000..23d0a4a --- /dev/null +++ b/tests/01-rtt-history.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +. _lib.sh + +t() { + # Data are reused from 'rtt' test + true +} + +p() { cat < $DRIVER-$i-1000.dat + if [ $i != "boost" ] || boost_irq_prio 90; then + PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN1` + vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER-$i -t 1 -d $CAN0 -w 2 -c $COUNT + kill $PID_S + fi + kill $PID_PING + done +} + + + +p() { cat <