Ticket #457: tt457-skip-tests.patch

File tt457-skip-tests.patch, 0.6 KB (added by doughera, 5 years ago)

Simple patch to skip bad stat() tests.

  • t/pmc/os.t

    old new  
    239239.end 
    240240CODE 
    241241} else { 
    242   TODO: { 
    243     local $TODO = "stat on solaris" if $solaris; 
     242  SKIP: { 
     243    skip 'broken test TT #457', 1 if $solaris; 
    244244 
    245245    $stat = sprintf("0x%08x\n" x 13, @s); 
    246246    pir_output_is( <<'CODE', $stat, 'Test OS.stat' ); 
     
    302302my $lstat; 
    303303 
    304304SKIP: { 
    305     skip 'lstat not on Win32, falling on solaris', 1 if $MSWin32 or $solaris; 
     305    skip 'lstat not on Win32', 1 if $MSWin32; 
     306    skip 'broken test TT #457', 1 if $solaris; 
    306307 
    307308    my @s = lstat('xpto'); 
    308309    if ($cygwin) {