Subject: | t/sighandler.t fails on Win32/strawberry perl |
Hi,
I have experienced the following failure during test on Schedule::Cron 0.99:
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/after_job.t ........... ok
t/callbackreschedule.t .. ok
t/dst_back.t ............ ok
t/entry.t ............... ok
t/execution_time.t ...... ok
t/kwalitee.t ............ skipped: Test::Kwalitee not installed; skipping
t/load_crontab.t ........ ok
t/nofork.t .............. ok
t/pod.t ................. ok
t/pod_coverage.t ........ ok
t/pretty_print_args.t ... ok
t/sighandler.t ..........
t/sighandler.t .......... 1/1 # Failed test at t/sighandler.t line 22.
# Looks like you failed 1 test of 1.
t/sighandler.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/startup.t ............. ok
Test Summary Report
-------------------
t/sighandler.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=13, Tests=85, 34 wallclock secs ( 0.13 usr + 0.06 sys = 0.19 CPU)
Result: FAIL
Failed 1/13 test programs. 1/85 subtests failed.
dmake: Error code 255, while making 'test_dynamic'
It is very likely due to the fact that there is nothing like $SIG{CHLD}
signal on Win32. Probably the only solution is to skip the whole
sighandler.t on Win32.
--
kmx