From 74e83bfde6652df2ada831ae003ec51ca8e673c7 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 9 Jan 2020 11:57:18 +0100 Subject: Cleanup examples, tests, configuration and plugins This commit updates all files external to the code. Change-Id: I910bc300c53b7669573bba414db7d7ad74313697 Signed-off-by: Arthur Guyader Signed-off-by: Romain Forlot --- test/afb-test/tests/low-can_J1939Test.lua | 4 ++-- test/afb-test/tests/low-can_ValueJ1939Test.lua | 4 ++-- test/afb-test/tests/low-can_ValueTestCan.lua | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test/afb-test/tests') 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 diff --git a/test/afb-test/tests/low-can_ValueJ1939Test.lua b/test/afb-test/tests/low-can_ValueJ1939Test.lua index 7fd6da67..5a4add3e 100644 --- a/test/afb-test/tests/low-can_ValueJ1939Test.lua +++ b/test/afb-test/tests/low-can_ValueJ1939Test.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 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 -- cgit 1.2.3-korg