From 3642f8f2545f22f2e574bbd820e67229516e9149 Mon Sep 17 00:00:00 2001
From: Romain Forlot <romain.forlot@iot.bzh>
Date: Fri, 14 Apr 2017 17:23:38 +0200
Subject: [PATCH] Fix: wrong testing command line

Missing rootdir option else binding can't find its configuration file

Change-Id: I011d326dd27a5eae6f021080f08a82290200cc2c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
---
 CAN-binder/etc/config.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CAN-binder/etc/config.cmake b/CAN-binder/etc/config.cmake
index 4b910d2..671637c 100644
--- a/CAN-binder/etc/config.cmake
+++ b/CAN-binder/etc/config.cmake
@@ -47,7 +47,7 @@ set(CMAKE_C_FLAGS "")
 set(CMAKE_CXX_FLAGS "-std=c++11")
 
 # Print a helper message when every thing is finished
-setc(CLOSING_MESSAGE "Test with: afb-daemon --ldpaths=\$\$(pwd)/low-can-binding/package/lib --port=1234 --roothttp=\$\$(pwd)/package/htdocs --tracereq=common --token=\"\" --verbose")
+setc(CLOSING_MESSAGE "Test with: afb-daemon --rootdir=\$\$(pwd)/low-can-binding/package --ldpaths=\$\$(pwd)/low-can-binding/package/lib --port=1234 --roothttp=\$\$(pwd)/package/htdocs --tracereq=common --token=\"\" --verbose")
 # ----------------------------------------------------
 
 # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable]
-- 
2.16.6