]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/t01-simple.sh
Added simple test to check the infrastructure
[can-benchmark.git] / tests / t01-simple.sh
diff --git a/tests/t01-simple.sh b/tests/t01-simple.sh
new file mode 100755 (executable)
index 0000000..103630d
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+. lib.sh
+
+load_lincan_hw
+
+PID_S=`vca_canping -s 1 -b -r -d /dev/can1`
+
+vca_canping -m 1 -r -v -t 1 -d /dev/can0 -w 5 -c 1000
+
+kill $PID_S
+#killall -9 vca_canping