aboutsummaryrefslogtreecommitdiffstats
path: root/test/afb-test/tests/low-can_ValueTestCan.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/afb-test/tests/low-can_ValueTestCan.lua')
-rw-r--r--test/afb-test/tests/low-can_ValueTestCan.lua4
1 files changed, 2 insertions, 2 deletions
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