aboutsummaryrefslogtreecommitdiffstats
path: root/test/afb-test/tests/low-can_BasicAPITest.lua
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-10-17 17:09:50 +0200
committerFrederic Marec <frederic.marec@iot.bzh>2019-10-17 17:09:50 +0200
commit4a9128ec057dc0d78ccfd02a1dad3587f8a1c0fb (patch)
treebf82b47bb611924461336b21554706da7188f6d0 /test/afb-test/tests/low-can_BasicAPITest.lua
parent069aa21a95294311d5f39e086b3fcd300015379c (diff)
Fix low-can testsandbox/DDTLK/fix-tests
Change print before test Fix filter test Change-Id: Ie47732f8a5a21cb776719171615074506fbce7df Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'test/afb-test/tests/low-can_BasicAPITest.lua')
-rw-r--r--test/afb-test/tests/low-can_BasicAPITest.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/afb-test/tests/low-can_BasicAPITest.lua b/test/afb-test/tests/low-can_BasicAPITest.lua
index 2076d878..8f44e4cc 100644
--- a/test/afb-test/tests/low-can_BasicAPITest.lua
+++ b/test/afb-test/tests/low-can_BasicAPITest.lua
@@ -26,7 +26,7 @@ print("##########################################\n")
_AFT.setBeforeAll(function()
local can = io.open("/sys/class/net/can0")
if can == nil then
- print("# You do not have 'can0' device set. Please run the following command:\n### sudo modprobe vcan; sudo ip link add can0 type vcan; sudo ip link set can0 up ")
+ print("# You do not have 'can0' device set. Please run the following command:\n### sudo modprobe vcan; sudo ip link add can0 type vcan; sudo ip link set can0 up; sudo ip link add can1 type vcan; sudo ip link set can1 up")
return -1
end
return 0