Subject: | Oops: kill 9 => $pid |
I found this line in t/multi_content_type.t:
END { kill 9, $pid }
If for whatever reason $pid ends up being undef or zero this kills the
entire process group which is in my case the smoke process itself:-(
Will have to write a perlbug on this too, but for you I have this patch:
--- ../Test-WWW-Mechanize-Catalyst-0.41-QzcM3Y/t/multi_content_type.t
2007-09-17 21:49:58.000000000 +0200
+++ t/multi_content_type.t 2007-12-30 08:54:23.000000000 +0100
@@ -39,7 +39,11 @@
$m->title_is( 'Root', 'Multi Content-Type title' );
$m->content_contains( "Hello, test \x{263A}!", 'Multi Content-Type body' );
-END { kill 9, $pid }
+END {
+ if ($pid > 0 ){
+ kill 9, $pid;
+ }
+}
1;