Extend the waiting time for emulated platforms
[src/qa-testdefinitions.git] / common / scripts / test_can_loopback_mode.sh
index 9a7acf6..96b1091 100755 (executable)
@@ -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