summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Macks <dmacks@netspace.org>2014-06-10 06:00:33 -0400
committerDan Winship <danw@gnome.org>2014-06-10 08:57:54 -0400
commit93d0c632326064f3e72f0e88e3dc971bdfc74af0 (patch)
tree4044ce8ef3b13901df4983136356c8807bcc305e
parent545b44444b365a4e3ba98ec71fab4f12293a229c (diff)
downloadglib-93d0c632326064f3e72f0e88e3dc971bdfc74af0.tar.gz
assert-msg-test: Explicitly quit gdb session to avoid zombie
gdb is run in batch mode, and can leave leave the program being executed/debugged running when the batchfile is finished. Explicitly "quit"ing the subprocess prevents it from leaving the stray subprocess when gdb finishes. https://bugzilla.gnome.org/show_bug.cgi?id=731366
-rw-r--r--tests/assert-msg-test.gdb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/assert-msg-test.gdb b/tests/assert-msg-test.gdb
index a22981a11..63a254152 100644
--- a/tests/assert-msg-test.gdb
+++ b/tests/assert-msg-test.gdb
@@ -1,3 +1,4 @@
run
set print elements 0
print (char*) __glib_assert_msg
+quit