diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-10-06 13:27:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2019-10-06 13:27:40 +0000 |
commit | 44e8e7f609fadd784b3ef6b473bc18fd4da1c4dc (patch) | |
tree | cc1763df631db7fa82b2fc004053b59c00919662 /common/scripts/test_can_loopback_mode.sh | |
parent | 76e8255fe3f4628a18808c3973323068af579b64 (diff) | |
parent | 4b263fd3625dbb9a2f30c77bbd8e49bde0bca967 (diff) |
Merge "Avoid some test cases failures"
Diffstat (limited to 'common/scripts/test_can_loopback_mode.sh')
-rwxr-xr-x | common/scripts/test_can_loopback_mode.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/scripts/test_can_loopback_mode.sh b/common/scripts/test_can_loopback_mode.sh index 7f86ef9..4425c5d 100755 --- a/common/scripts/test_can_loopback_mode.sh +++ b/common/scripts/test_can_loopback_mode.sh @@ -9,6 +9,11 @@ if [ ! -e /sys/class/net/can0 ];then exit 0 fi sleep 2 + +#Make sure always that the can interface is down before +#starting the config step. +ip link set can0 down + #config the can interfaces ip link set can0 type can bitrate 50000 loopback on sleep 2 |