#!./perl

# $RCSfile: fork.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:53 $

$| = 1;
print "1..2\n";

if ($cid = fork) {
    sleep 2;
    if ($result = (kill 9, $cid)) {print "ok 2\n";} else {print "not ok 2 $result\n";}
}
else {
    $| = 1;
    print "ok 1\n";
    sleep 10;
}
