summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/afb-test.sh9
-rw-r--r--test/afb-test/etc/aft-low-can_config.json2
2 files changed, 6 insertions, 5 deletions
diff --git a/test/afb-test.sh b/test/afb-test.sh
index e60f2deb..317c615b 100755
--- a/test/afb-test.sh
+++ b/test/afb-test.sh
@@ -18,10 +18,11 @@ ${BINDER} --name="${PROCNAME}" \
--roothttp=. \
--tracereq=common \
--token=${TOKEN} \
---workdir="${BUILDDIR}/package" \
---binding="lib/afb-low-can.so" \
+--workdir="${BUILDDIR}/package-test" \
+--binding="../package/lib/afb-low-can.so" \
--binding="$AFBTEST" \
---call="afTest/launch_all_tests:{}" \
+-vvv \
+--call="aft-low-can/launch_all_tests:{}" \
-vvv > ${LOGPIPE} 2>&1 &
while read -r line
@@ -29,6 +30,6 @@ do
[ "$(echo "${line}" | grep 'NOTICE: Browser URL=')" ] && break
done < ${LOGPIPE}
-${CLIENT} ws://localhost:${PORT}/api?token=${TOKEN} afTest exit
+${CLIENT} ws://localhost:${PORT}/api?token=${TOKEN} aft-low-can exit
rm -f ${LOGPIPE}
diff --git a/test/afb-test/etc/aft-low-can_config.json b/test/afb-test/etc/aft-low-can_config.json
index 3fd06d4c..ebe7ed47 100644
--- a/test/afb-test/etc/aft-low-can_config.json
+++ b/test/afb-test/etc/aft-low-can_config.json
@@ -4,7 +4,7 @@
"metadata": {
"uid": "Test",
"version": "1.0",
- "api": "afTest",
+ "api": "aft-low-can",
"info": "AFB-test binding configuration file to test low-can api.",
"require": [
"low-can"