Merge "SPEC-2996: handle rcar_can"
[src/qa-testdefinitions.git] / common / scripts / test_can_modules.sh
index 2a16897..1a46034 100755 (executable)
@@ -58,7 +58,7 @@ fi
 
 remove_module can_dev
 
-ip -V | grep -q -i BusyBox
+ip -V 2>&1 | grep -q -i BusyBox
 if [ $? -eq 0 ];then
        lava-test-case canconfig_can0 --result skip
 else
@@ -88,7 +88,7 @@ fi
 #starting the config step.
 ip link set can0 down
 
-ip -V | grep -q -i BusyBox
+ip -V 2>&1 | grep -q -i BusyBox
 if [ $? -eq 0 ];then
        lava-test-case canconfig_can0 --result skip
 else