summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-08-30 17:22:09 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-08-30 17:25:34 +0200
commita826da17cdfa4586f66b9d3350e10d6799609a88 (patch)
treec8a9b2f7a477b20a7ba63543d394e72655f491cb
parent2f768efe099087fedb56102c737353fccbfea4ed (diff)
Silence all outputs of kill commandflounder_5.99.5flounder/5.99.55.99.5
Because may the users doesn't set to exit the binder at the end in the LUA so it has to be killed by the script. Then every case are covered. Change-Id: I3967b296ca8eafc65bb8109c57d2b8b2de582583 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rwxr-xr-xtest/afb-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/afb-test.sh b/test/afb-test.sh
index b30ffcc..cd722cc 100755
--- a/test/afb-test.sh
+++ b/test/afb-test.sh
@@ -5,7 +5,7 @@ trap "cleanup 0" EXIT
cleanup() {
trap '' SIGINT SIGTERM SIGABRT SIGHUP EXIT
- kill $AFTESTPID
+ kill $AFTESTPID > /dev/null 2>&1
rm -f $AFTESTSOCKET
pkill $PROCNAME
exit $1