summaryrefslogtreecommitdiffstats
path: root/common/scripts/test_can_modules.sh
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-10-16 07:51:31 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-10-16 07:51:31 +0000
commit37f31bb32e67c443e4a67fdebc3c13ca1253c959 (patch)
tree3f06faaf691b53e921ee92a8a72843f91f08c151 /common/scripts/test_can_modules.sh
parent44e8e7f609fadd784b3ef6b473bc18fd4da1c4dc (diff)
parentc532114e01614de3885686e849c59746003bfacf (diff)
Merge "qa-testdefinitions: Split can tests to avoid failures"
Diffstat (limited to 'common/scripts/test_can_modules.sh')
-rwxr-xr-xcommon/scripts/test_can_modules.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/common/scripts/test_can_modules.sh b/common/scripts/test_can_modules.sh
index 12e82ee..6fe4b02 100755
--- a/common/scripts/test_can_modules.sh
+++ b/common/scripts/test_can_modules.sh
@@ -8,13 +8,11 @@ if [ ! -e /sys/class/net/can1 ];then
lava-test-case unload_c_can_module --result skipp
lava-test-case unload_can_dev_module --result skip
lava-test-case canconfig_can0 --result skip
- lava-test-case canconfig_can1 --result skip
lava-test-case load_can_module --result skip
lava-test-case load_can_raw_module --result skip
lava-test-case load_c_can_module --result skip
lava-test-case load_can_dev_module --result skip
lava-test-case canconfig_can0 --result skip
- lava-test-case canconfig_can1 --result skip
exit 0
fi
lsmod | grep can
@@ -70,14 +68,6 @@ else
lava-test-case canconfig_can0 --result pass
fi
-sleep 3
-
-ip link set can1 type can bitrate 50000
-if [ $? -eq 0 ];then
- lava-test-case canconfig_can1 --result fail
-else
- lava-test-case canconfig_can1 --result pass
-fi
sleep 5
@@ -124,7 +114,6 @@ 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
@@ -134,11 +123,3 @@ else
fi
sleep 3
-ip link set can1 type can bitrate 50000
-if [ $? -eq 0 ];then
- lava-test-case canconfig_can1 --result pass
-else
- lava-test-case canconfig_can1 --result fail
-fi
-
-sleep 3