Code Review
/
src
/
qa-testdefinitions.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Avoid some test cases failures
[src/qa-testdefinitions.git]
/
common
/
scripts
/
test_can_modules.sh
diff --git
a/common/scripts/test_can_modules.sh
b/common/scripts/test_can_modules.sh
index
d6caf54
..
12e82ee
100755
(executable)
--- a/
common/scripts/test_can_modules.sh
+++ b/
common/scripts/test_can_modules.sh
@@
-121,6
+121,11
@@
fi
sleep 5
+#Make sure always that the can interface is down before
+#starting the config step.
+ip link set can0 down
+ip link set can1 down
+
ip link set can0 type can bitrate 50000
if [ $? -eq 0 ];then
lava-test-case canconfig_can0 --result pass