summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-06-28 13:20:30 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-10 17:12:14 +0200
commitfe59b457d752c048afce8f48cd7ed9e97e603d51 (patch)
tree5529c3729a055576728585ad919970dc9646af33
parent80cb32ffd50f8b3899039e351349f569e02d6116 (diff)
Don't specify a path to find the aft.lua file
This let the controller find it in CONTROL_PLUGIN_PATH instead. Change-Id: I61d5160e45daf6882426206298d8574b4527bc5c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--src/test-binding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test-binding.c b/src/test-binding.c
index 641dfc4..a1939e2 100644
--- a/src/test-binding.c
+++ b/src/test-binding.c
@@ -138,10 +138,9 @@ int afbBindingVdyn(afb_dynapi *apiHandle) {
AFB_ApiNotice(apiHandle, "Controller API='%s' info='%s'", ctrlConfig->api,
ctrlConfig->info);
- err = wrap_json_pack(&resourcesJ, "{s[{ss, ss, ss, s[s]}]}", "resources",
+ err = wrap_json_pack(&resourcesJ, "{s[{ss, ss, ss}]}", "resources",
"uid", "AFT",
"info", "LUA Binder test framework",
- "spath", "var/",
"libs", "aft.lua" );
err += wrap_json_pack(&eventsJ, "{s[{ss, ss}]}", "events",
"uid", "monitor/trace",