aboutsummaryrefslogtreecommitdiffstats
path: root/common/scripts/test_can_modules.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/scripts/test_can_modules.sh')
-rwxr-xr-xcommon/scripts/test_can_modules.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/scripts/test_can_modules.sh b/common/scripts/test_can_modules.sh
index 9a5a6bd..3b317af 100755
--- a/common/scripts/test_can_modules.sh
+++ b/common/scripts/test_can_modules.sh
@@ -50,7 +50,7 @@ remove_module c_can
remove_module can_dev unload_can_dev_module
-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
@@ -76,7 +76,7 @@ modprobe_module can_dev
#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