From c0bf49b0691ca1f4443cf2a09bfe0c67df6a75f2 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 30 Apr 2014 11:38:06 +0200 Subject: [PATCH] integration tests: Kill the right process when shutting down sysdbd. Also, wait for it to terminate. --- t/integration/simple_config.sh | 4 +++- t/integration/simple_query.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/t/integration/simple_config.sh b/t/integration/simple_config.sh index 677f53c..ce3c4eb 100755 --- a/t/integration/simple_config.sh +++ b/t/integration/simple_config.sh @@ -50,4 +50,6 @@ EOF sysdbd_pid=$! wait_for_sysdbd -kill $! +kill $sysdbd_pid +wait $sysdbd_pid + diff --git a/t/integration/simple_query.sh b/t/integration/simple_query.sh index d091e2b..3473fa1 100755 --- a/t/integration/simple_query.sh +++ b/t/integration/simple_query.sh @@ -55,4 +55,6 @@ sleep 3 | grep -F "localhost" \ | grep -F "other.host.name" \ | grep -F "some.host.name" -kill $! +kill $sysdbd_pid +wait $sysdbd_pid + -- 2.30.2