summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-08-27 13:07:26 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-08-27 13:07:27 +0200
commitf200f2f37cf732d96d3b7e5de537840c570516fa (patch)
tree010e32ca48ceebed3dab2b026522b9a63bdac881 /tests
parent3959589558db1cb23ebec9bdd9bbdc2f799c5ee8 (diff)
downloadat-spi2-atk-f200f2f37cf732d96d3b7e5de537840c570516fa.tar.gz
tests: fix child_pid reference
180f91479e27 ("tests: Replace common variable with usual external variable") fixed the variable declaration, but there was no definition either. This adds it.
Diffstat (limited to 'tests')
-rw-r--r--tests/atk_test_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/atk_test_util.c b/tests/atk_test_util.c
index c932df8..7a73c2b 100644
--- a/tests/atk_test_util.c
+++ b/tests/atk_test_util.c
@@ -23,6 +23,8 @@
#include <signal.h>
#include "atk_test_util.h"
+pid_t child_pid;
+
static void assert_clean_exit (int sig)
{
kill (child_pid, SIGTERM);