Skip Menu |

This queue is for tickets about the PerlIO-Util CPAN distribution.

Report information
The Basics
Id: 37646
Status: resolved
Priority: 0/
Queue: PerlIO-Util

People
Owner: Nobody in particular
Requestors: taro.nishino [...] gmail.com
Cc:
AdminCc:

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



Subject: 08_taint.t of PerlIO-Util-0.52
Hi, Goro, For your information, the detail message of 08_taint.t failure is as follows: C:\temp\PerlIO-Util-0.52\t>prove 08_taint.t 08_taint....1/5 # Failed test 'insecure :tee' # at 08_taint.t line 22. # '' # doesn't match '(?i-xsm:insecure)' # Looks like you failed 1 test of 5. 08_taint.... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests Test Summary Report ------------------- 08_taint (Wstat: 256 Tests: 5 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=1, Tests=5, 1 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU) Result: FAIL Regards, Taro Nishino
Hi, Taro. Thank you for your report, but it may be executed on older versions of PerlIO::Util. Please try "prove --blib". The test report says that "All 5 subtests passed", and that "Non zero exit status: 5". Something wrong might have happend while in the destruction process, but I do not know what happend.... -- Goro Fuji (GFUJI at CPAN.org)
Subject: Re: [rt.cpan.org #37646] 08_taint.t of PerlIO-Util-0.52
Date: Mon, 14 Jul 2008 02:55:39 +0900
To: bug-PerlIO-Util [...] rt.cpan.org
From: Taro Nishino <taro.nishino [...] gmail.com>
Hi, Goro, The following is the result with "--blib." C:\temp\PerlIO-Util-0.52\t>prove --blib 08_taint.t 08_taint....1/5 # Failed test 'insecure :tee' # at 08_taint.t line 22. # '' # doesn't match '(?i-xsm:insecure)' # Looks like you failed 1 test of 5. 08_taint.... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests Test Summary Report ------------------- 08_taint (Wstat: 256 Tests: 5 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=1, Tests=5, 1 wallclock secs ( 0.03 usr + 0.02 sys = 0.05 CPU) Result: FAIL Moreover, I doubt whether "All 5 subtests passed" is true. Be specific, the following is the result with removing -T. C:\temp\PerlIO-Util-0.52\t>prove --blib 08_taint.t 08_taint....1/5 # Failed test 'insecure :tee' # at 08_taint.t line 21. # '' # doesn't match '(?i-xsm:insecure)' # Failed test 'insecure :tee' # at 08_taint.t line 26. # 'Unknown PerlIO layer "C:\temp\PerlIO-Util-0.52\t\util\foo" at 08_taint.t line 24. # ' # doesn't match '(?i-xsm:insecure)' # Failed test 'insecure :creat' # at 08_taint.t line 31. # '' # doesn't match '(?i-xsm:insecure)' # Failed test 'insecure :excl' # at 08_taint.t line 36. # '' # doesn't match '(?i-xsm:insecure)' # Looks like you failed 4 tests of 5. 08_taint.... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/5 subtests Test Summary Report ------------------- 08_taint (Wstat: 1024 Tests: 5 Failed: 4) Failed tests: 2-5 Non-zero exit status: 4 Files=1, Tests=5, 0 wallclock secs ( 0.03 usr + 0.02 sys = 0.05 CPU) Result: FAIL Regards, Taro Nishino
Hi, Taro. The problem was that when uninitialized :tee instances ware flushed, segmentation faults could happen by null pointer accesses. It has been resolved. -- Goro Fuji (GFUJI at CPAN.org)