X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Ftest_can_loopback_mode.sh;h=96b1091bc6f0144dd716ac96b1b32fc011346d08;hb=c98a7d5fa84c45724042cc5a513464070dff5ecb;hp=9a7acf62839c2e4c6db43833129c572d4e7e1a46;hpb=e1829b0d4d0de7faf73515d053ecff2ba229a895;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/test_can_loopback_mode.sh b/common/scripts/test_can_loopback_mode.sh index 9a7acf6..96b1091 100755 --- a/common/scripts/test_can_loopback_mode.sh +++ b/common/scripts/test_can_loopback_mode.sh @@ -14,9 +14,11 @@ if [ ! -e /sys/class/net/can0 ];then fi sleep 2 - -ip -V |grep -q BusyBox -if [ $? -eq 0 ];then +set -x +ip -V 2>&1 | grep -q -i BusyBox +RET=$? +set +x +if [ $RET -eq 0 ];then echo "WARN: busybox ip is not handled" # busybox ip does not handle bitrate option skip_tests