summaryrefslogtreecommitdiff
path: root/tests/record-pad.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/record-pad.c')
-rw-r--r--tests/record-pad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/record-pad.c b/tests/record-pad.c
index 1402a9ad93..f625163179 100644
--- a/tests/record-pad.c
+++ b/tests/record-pad.c
@@ -181,6 +181,7 @@ pid_t child;
static void terminate(void)
{
+ assert(child);
kill(child, SIGTERM);
exit(1);
}