-# Copyright (C) 2015 all contributors <meta@public-inbox.org>
+# Copyright (C) 2015-2018 all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
use strict;
use warnings;
is(kill(0, $pid), 1, 'child process is running');
ok(!defined(sysread($fh, my $buf, 1)) && $!{EAGAIN},
'sysread returned quickly with EAGAIN');
- is(kill(15, $pid), 1, 'child process killed early');
+ is(kill(9, $pid), 1, 'child process killed early');
is(waitpid($pid, 0), $pid, 'child process reapable');
isnt($?, 0, '$? set properly: '.$?);
}