Subject: | fail Test-Trap-v0.3.4\t\15-tempfile-options.t Error removing C:/DOCUME~1/usr/LOCALS~1/Temp/775O0HKOLH at D:/citrusperl/site/lib/File/Temp.pm line 762. |
Hi
I discovered this after encountering
MarpaX-Languages-C-AST-0.48\t\syntax-error.t
$ perl -Mblib -T t/syntax-error.t
1..2
ok 1 - use MarpaX::Languages::C::AST;
Uncaught exception from user code:
Rethrowing internal exception: Error in tempfile() using template \XXXXXXXXXX: Could not create temp file \FlANM
A498Z: Permission denied at D:/citrusperl/site/lib/Test/Trap/Builder/TempFile.pm line 29.
at t/syntax-error.t line 15.
Test::Trap::Builder::trap('Test::Trap::Builder=HASH(0xc3bb7c)', 'Test::Trap', 'GLOB(0xbb0dd4)', 'ARRAY(0xc7410c)
', 'CODE(0x33f901c)') called at D:/citrusperl/site/lib/Test/Trap.pm line 38
Test::Trap::__ANON__('CODE(0x33f901c)') called at t/syntax-error.t line 15
# Looks like you planned 2 tests but ran 1.
# Looks like your test exited with 255 just after 1.
The same error happens with both version of File::Temp
$ mversion Test::Trap File::Temp
0.3.4
0.2304
$ mversion Test::Trap File::Temp
0.3.4
0.2309
$ perl -T t/15-tempfile-options.t
1..30
ok 1 - TempFile 'basic' strategy doesn't handle l stroke
ok 2 - (and warns)
ok 3 - TempFile 'preserve' strategy doesn't handle l stroke
ok 4 - (and warns)
ok 5 - TempFile 'utf8' strategy handles l stroke
ok 6 - (no warning)
ok 7 - TempFile 'both' strategy handles l stroke
ok 8 - (no warning)
ok 9 - TempFile 'latin2' strategy handles l stroke
ok 10 - (no warning)
ok 11 - TempFile 'basic' strategy doesn't handle pi
ok 12 - (and warns)
ok 13 - TempFile 'preserve' strategy handles pi
ok 14 - (no warning)
ok 15 - TempFile 'utf8' strategy handles pi
ok 16 - (no warning)
ok 17 - TempFile 'both' strategy handles pi
ok 18 - (no warning)
ok 19 - TempFile 'latin2' strategy doesn't handle pi; falls back to \x notation
ok 20 - (and warns)
ok 21 - TempFile 'basic' strategy doesn't handle per mille
ok 22 - (and warns)
ok 23 - TempFile 'preserve' strategy doesn't handle per mille; falls back to \x notation
ok 24 - (and warns)
ok 25 - TempFile 'utf8' strategy handles per mille
ok 26 - (no warning)
ok 27 - TempFile 'both' strategy doesn't handle per mille; falls back to \x notation
ok 28 - (and warns)
ok 29 - TempFile 'latin2' strategy doesn't handle per mille; falls back to \x notation
ok 30 - (and warns)
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/775O0HKOLH at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/gSqD0Ayd4D at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/5fbToMPS5e at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/DUYa0LOsZS at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/6IfAtLfn9d at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/iUGdsRfRif at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/zqr1Xcs6cF at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/gBVpxNGmo9 at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/iFwhB_2RWK at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/1VVK6HLWa0 at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/cVMA84d9Un at D:/citrusperl/site/lib/File/Temp.pm line 762.
Error removing C:/DOCUME~1/username/LOCALS~1/Temp/T9pfTbAEJv at D:/citrusperl/site/lib/File/Temp.pm line 762.