X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=test%2Fafb-test%2Ftests%2Flow-can_ValueTestCan.lua;h=b717dc02e9ea32363bf0c20c513287d55c67e302;hb=74e83bfde6652df2ada831ae003ec51ca8e673c7;hp=093ccf95e8c499ff416be86a7d3a2c2312b8bbbf;hpb=23e350e7c5f193edd5944239f5a2e12af401c228;p=apps%2Fagl-service-can-low-level.git diff --git a/test/afb-test/tests/low-can_ValueTestCan.lua b/test/afb-test/tests/low-can_ValueTestCan.lua index 093ccf95..b717dc02 100644 --- a/test/afb-test/tests/low-can_ValueTestCan.lua +++ b/test/afb-test/tests/low-can_ValueTestCan.lua @@ -22,9 +22,9 @@ _AFT.setBeforeAll(function() - local can = io.open("/sys/class/net/can2") + local can = io.open("/sys/class/net/can0") if can == nil then - print("# You do not have 'can2' device set. Please run the following command:\n### sudo modprobe vcan; sudo ip link add can2 type vcan; sudo ip link set can2 up ") + print("# You do not have 'can0' device set. Please run the following command:\n### sudo modprobe vcan; sudo ip link add can2 type vcan; sudo ip link set can2 up ") return -1 end return 0