Subject: | test fails in 07_send_disconnect_send.t at stop_mq() |
I'm having trouble getting the tests to pass. The first test that fails
is the last test (test 8) in 07_send_disconnect_send.t where it does:
ok(stop_mq($pid), 'MQ shut down.');
I tried to do some debugging and in stop_mq() there is:
sub stop_mq {
my $pid = shift;
return (kill('TERM', $pid) == 1)
&& (waitpid($pid, 0) == $pid)
&& ($? == 0);
}
I put some debugging prints and get the following values:
pid: 31631
kill returns: 1
waitpid returns: 31631
$? is: 65280
I am running this on ubuntu 9.10. I tried on a 32 bit and 64 bit machine.