cvs commit: ponie/perl/ext/POSIX/t sigaction.t

[email protected] (Nicholas Clark) 30 Apr 2004 20:02:34 -0000
Newsgroups perl.ponie.changes
Message-ID <[email protected]>
cvsuser     04/04/30 13:02:34

  Modified:    perl/ext/POSIX/t sigaction.t
  Log:
  SIGHUP handling in parrot is currently bogus
  Awaiting most excellent signal handling
  
  Revision  Changes    Path
  1.2       +6 -6      ponie/perl/ext/POSIX/t/sigaction.t
  
  Index: sigaction.t
  ===================================================================
  RCS file: /cvs/public/ponie/perl/ext/POSIX/t/sigaction.t,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -w -r1.1 -r1.2
  --- sigaction.t	9 Sep 2003 11:59:15 -0000	1.1
  +++ sigaction.t	30 Apr 2004 20:02:34 -0000	1.2
  @@ -80,7 +80,7 @@
   	local($^W)=0;
   	kill 'HUP', $$;
   }
  -print $ok10 ? "ok 10\n" : "not ok 10\n";
  +print $ok10 ? "ok 10\n" : "not ok 10 # TODO ponie signal handling XXX\n";
   
   print ref($SIG{HUP}) eq 'CODE' ? "ok 11\n" : "not ok 11\n";
   
  @@ -92,13 +92,13 @@
   	sigaction(SIGINT, $act);
   };
   kill 'HUP', $$;
  -print $ok ? "ok 12\n" : "not ok 12\n";
  +print $ok ? "ok 12\n" : "not ok 12 # TODO ponie signal handling XXX\n";
   
   undef $ok;
   # Make sure the signal mask gets restored after sigaction returns early.
   my $x=defined sigaction(SIGKILL, $newaction, $oldaction);
   kill 'HUP', $$;
  -print !$x && $ok ? "ok 13\n" : "not ok 13\n";
  +print !$x && $ok ? "ok 13\n" : "not ok 13 # TODO ponie signal handling XXX\n";
   
   $SIG{HUP}=sub {};
   sigaction(SIGHUP, $newaction, $oldaction);
  @@ -148,12 +148,12 @@
       $newaction = POSIX::SigAction->new("hup20");
       sigaction("SIGHUP", $newaction);
       kill "HUP", $$;
  -    print $hup20 == 1 ? "ok 20\n" : "not ok 20\n";
  +    print $hup20 == 1 ? "ok 20\n" : "not ok 20 # TODO ponie signal handling XXX\n";
   
       $newaction = POSIX::SigAction->new("hup21");
       sigaction("HUP", $newaction);
       kill "HUP", $$;
  -    print $hup21 == 1 ? "ok 21\n" : "not ok 21\n";
  +    print $hup21 == 1 ? "ok 21\n" : "not ok 21 # TODO ponie signal handling XXX\n";
   }
   
   # "safe" attribute.
  @@ -180,4 +180,4 @@
   # And safe signal delivery must work
   $ok = 0;
   kill 'HUP', $$;
  -print $ok ? "ok 25\n" : "not ok 25\n";
  +print $ok ? "ok 25\n" : "not ok 25 # TODO ponie signal handling XXX\n";