7 # This is possibly a bit black-box, but for now it works.
8 # If (either) File::stat stops lazy loading Symbol, or Test::More starts, it
10 is($INC{'Symbol.pm'}, undef, "Symbol isn't loaded yet");
12 # ID 20011110.104 (RT #7896)
14 is($!, '', '$! is empty');
15 is(File::stat::stat('/notafile'), undef, 'invalid file should fail');
16 isnt($!, '', 'should populate $!, given invalid file');
19 isnt($INC{'Symbol.pm'}, undef, "Symbol has been loaded");
22 is(File::stat::stat('/notafile'), undef, 'invalid file should fail again');
23 is($!, $e, '$! should be consistent for an invalid file');
25 is(File::stat::stat('/notafile'), undef, 'invalid file should fail again');
26 is($!, $e, '$! should be consistent for an invalid file');