This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[PATCH] Fix false FAILs on testsuite with ulimit -c unlimited.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Date: Wed, 15 Jan 2014 14:16:13 +0100
- Subject: [PATCH] Fix false FAILs on testsuite with ulimit -c unlimited.
tests/
2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix false FAILs on testsuite with ulimit -c unlimited.
* backtrace.c (exec_dump): Call kill for PID.
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
---
tests/backtrace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/backtrace.c b/tests/backtrace.c
index 758dfed..4ac7910 100644
--- a/tests/backtrace.c
+++ b/tests/backtrace.c
@@ -392,6 +392,7 @@ exec_dump (const char *exec)
dwfl =3D pid_to_dwfl (pid);
dump (dwfl);
dwfl_end (dwfl);
+ kill (pid, SIGKILL);
}
=
#define OPT_BACKTRACE_EXEC 0x100
-- =
1.8.4.2
--===============7844208891404313021==--