assert-msg-test: Explicitly quit gdb session to avoid zombie
authorDaniel Macks <dmacks@netspace.org>
Tue, 10 Jun 2014 10:00:33 +0000 (06:00 -0400)
committerDan Winship <danw@gnome.org>
Tue, 10 Jun 2014 12:57:54 +0000 (08:57 -0400)
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

tests/assert-msg-test.gdb

index a22981a..63a2541 100644 (file)
@@ -1,3 +1,4 @@
 run
 set print elements 0
 print (char*) __glib_assert_msg
+quit