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