Skip Menu |

This queue is for tickets about the Daemon-Daemonize CPAN distribution.

Report information
The Basics
Id: 52148
Status: new
Priority: 0/
Queue: Daemon-Daemonize

People
Owner: Nobody in particular
Requestors: m-uchino [...] yetipapa.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.005
Fixed in: (no value)



Subject: Failed test
Hello, again. I tried install Daemon::Daemonize 0.005 in Perl 5.8.8, and errors occurred at 'make test'. ==================================================== Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01-daemonize.t t/02-daemonize-stdout-stderr.t t/03-daemonize-stdout-stderr-via-env.t t/04-read-write-delete-check-pidfile.t t/01-daemonize.t ........................ 1/? # Failed test at t/01-daemonize.t line 30. # Failed test at t/01-daemonize.t line 31. # pid is 0 # Looks like you failed 2 tests of 3. t/01-daemonize.t ........................ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/3 subtests t/02-daemonize-stdout-stderr.t .......... 1/? # Failed test at t/02-daemonize-stdout-stderr.t line 36. # Failed test at t/02-daemonize-stdout-stderr.t line 37. # pid is 0 Can't read /tmp/TQQ8TWIO4L/stdout: No such file or directory at /usr/lib/perl5/site_perl/5.8.8/Path/Class/File.pm line 60. # Looks like you failed 2 tests of 3. # Looks like your test exited with 2 just after 3. t/02-daemonize-stdout-stderr.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/3 subtests t/03-daemonize-stdout-stderr-via-env.t .. 1/? # Failed test at t/03-daemonize-stdout-stderr-via-env.t line 34. # Failed test at t/03-daemonize-stdout-stderr-via-env.t line 35. # pid is 0 Can't read /tmp/PIu1Fs9FmN/stdout: No such file or directory at /usr/lib/perl5/site_perl/5.8.8/Path/Class/File.pm line 60. # Looks like you failed 2 tests of 3. # Looks like your test exited with 2 just after 3. t/03-daemonize-stdout-stderr-via-env.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/3 subtests t/04-read-write-delete-check-pidfile.t .. 1/? # Failed test at t/04-read-write-delete-check-pidfile.t line 31. # Failed test at t/04-read-write-delete-check-pidfile.t line 32. # Failed test at t/04-read-write-delete-check-pidfile.t line 33. # pid is 0 is 0 # Failed test at t/04-read-write-delete-check-pidfile.t line 37. # got: undef # expected: '0' # Failed test at t/04-read-write-delete-check-pidfile.t line 38. # got: undef # expected: '0' t/04-read-write-delete-check-pidfile.t .. 9/? make: *** wait: No child processes. Stop. make: *** Waiting for unfinished jobs.... make: *** wait: No child processes. Stop. ==================================================== This looks same as before problem. http://rt.cpan.org/Public/Bug/Display.html?id=51198 Then, I try edit Daemonize.pm same as before. Name of file-handle is 'NULLFH', NOT 'NULL'. Then, all tests successful, and install completed. I think that 'NULL' may conflict with POSIX.