# On OS/2 (fake) ino is not constant, it is incremented each time
SKIP: {
- skip(1, 'inode number is not constant on OS/2') if $^O eq 'os2';
+ skip('inode number is not constant on OS/2', 1) if $^O eq 'os2';
is( $stat->ino, $stat[1], "inode number in position 1" );
}
local $!;
$stat = stat '/notafile';
-like( $!, qr/^No such file/,
- "should leave 'No such file' error in \$! with invalid file" );
+isn't( $!, '', 'should populate $!, given invalid file' );
# Testing pretty much anything else is unportable.