This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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==--

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]