Ensure test program is killed after spec

This commit is contained in:
Derek Parker 2014-05-28 18:14:26 -05:00
parent 7dc93a4083
commit bf0d67a9e0

@ -178,6 +178,8 @@ func TestBreakPointWithNonExistantFunction(t *testing.T) {
if err == nil {
t.Fatal("Should not be able to break at non existant function")
}
cmd.Process.Kill()
}
func TestClearBreakPoint(t *testing.T) {
@ -220,4 +222,6 @@ func TestClearBreakPoint(t *testing.T) {
if len(p.BreakPoints) != 0 {
t.Fatal("Breakpoint not removed internally")
}
cmd.Process.Kill()
}