aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-03-02 22:22:23 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-03-02 22:22:23 +0100
commitb0d65b3d11496b81ed00616ce5d8e4db1229bb8c (patch)
tree45eecf6097552d131849d16f4a7222a927664dbb /tests
parentd2586188fe8745c34e5a97032d045f8b74100a98 (diff)
Silence kill output
Diffstat (limited to 'tests')
-rw-r--r--tests/common.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index d12aebdad..b341993f7 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -109,10 +109,10 @@ startDaemon() {
killDaemon() {
kill $pidDaemon
for i in {0..100}; do
- kill -0 $pidDaemon || break
+ kill -0 $pidDaemon 2> /dev/null || break
sleep 0.1
done
- kill -9 $pidDaemon || true
+ kill -9 $pidDaemon 2> /dev/null || true
wait $pidDaemon || true
trap "" EXIT
}