Subject: | predictable filename in /tmp |
Entering directory `/home/sand/.cpan/build/Config-JSON-ShWpjs'
PERL_DL_NONLAZY=1
/home/src/perl/repoperls/installed-perls/perl/pVw1Sw4/perl-5.8
.0@31198/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'b
lib/arch')" t/*.t
t/00.load.........# Testing Config::JSON '1.0.3'
ok
t/Config..........Can't write to config file /tmp/test.conf at
t/Config.t line 7
# Failed test 'set up test data'
# at t/Config.t line 35.
Can't write to config file /tmp/test.conf at t/Config.t line 46
Can't write to config file /tmp/test.conf at t/Config.t line 54
Can't write to config file /tmp/test.conf at t/Config.t line 62
Can't write to config file /tmp/test.conf at t/Config.t line 70
Can't write to config file /tmp/test.conf at t/Config.t line 78
Can't write to config file /tmp/test.conf at t/Config.t line 81
# Looks like you failed 1 test of 12.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
Failed 1/12 tests, 91.67% okay
t/perlcritic......ok
t/pod-coverage....ok
t/pod.............ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/Config.t 1 256 12 1 2
Failed 1/5 test scripts. 1/16 subtests failed.
Files=5, Tests=16, 4 wallclock secs ( 2.87 cusr + 0.12 csys = 2.99 CPU)
Failed 1/5 test programs. 1/16 subtests failed.
make[3]: *** [test_dynamic] Error 255
make[3]: Leaving directory `/home/sand/.cpan/build/Config-JSON-ShWpjs'
Using predictable filenames in /tmp is a security hazard and should be
avoided even in test scripts. Besides if they aren't cleaned up they
lead to failing tests. Please use File::Temp instead.
Thanks,