summaryrefslogtreecommitdiffstats
path: root/test/afb-test/tests/low-can_J1939Test.lua
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2020-01-09 11:57:18 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 16:25:36 +0100
commit74e83bfde6652df2ada831ae003ec51ca8e673c7 (patch)
tree8150a62ee2c37972dd8f369f63de5f3773617d9e /test/afb-test/tests/low-can_J1939Test.lua
parent439c289056564cc4723c249f2ba29100efc7d4f8 (diff)
Cleanup examples, tests, configuration and plugins
This commit updates all files external to the code. Change-Id: I910bc300c53b7669573bba414db7d7ad74313697 Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'test/afb-test/tests/low-can_J1939Test.lua')
-rw-r--r--test/afb-test/tests/low-can_J1939Test.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/afb-test/tests/low-can_J1939Test.lua b/test/afb-test/tests/low-can_J1939Test.lua
index 3e855366..121dbc44 100644
--- a/test/afb-test/tests/low-can_J1939Test.lua
+++ b/test/afb-test/tests/low-can_J1939Test.lua
@@ -21,9 +21,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