summaryrefslogtreecommitdiffstats
path: root/test/afb-test.sh
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-08-13 10:49:36 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-08-20 15:02:04 +0200
commitac574c3b5a6f208dfb7ea1606ef084e6db9397c2 (patch)
treeeddb3090e95106de31d7589358308593b7e35c01 /test/afb-test.sh
parenta40560baabe3337fbfed6310b42c6d7b1d5ead0d (diff)
Use dedicated API name for the test
Use dedicated API name for the test and not using the generic one already used by the raw afb-test. Change-Id: I79eb590a9a1d8c2538bd1b9d8bfc5a8537cf6c00 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'test/afb-test.sh')
-rwxr-xr-xtest/afb-test.sh9
1 files changed, 5 insertions, 4 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}