# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #56928]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56928 >


Some of the new tests for auto::pack fail for me:

$ perl t/harness -v t/steps/auto_pack-01.t  > out 2>&1
t/steps/auto_pack-01....#     Failed test (t/steps/auto_pack-01.t at line 101)
#     Failed test (t/steps/auto_pack-01.t at line 102)
#                   ''
#     doesn't match '(?-xism:Configure\.pl:  Unable to find a suitable packtype 
for intvalsize)'
#     Failed test (t/steps/auto_pack-01.t at line 121)
#     Failed test (t/steps/auto_pack-01.t at line 122)
#                   ''
#     doesn't match '(?-xism:Configure\.pl:  Unable to find a suitable packtype 
for intvalsize)'
# Looks like you failed 4 tests of 33.
dubious
        Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 14-17
        Failed 4/33 tests, 87.88% okay
Failed 1/1 test scripts, 0.00% okay. 4/33 subtests failed, 87.88% okay.
Failed Test            Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/steps/auto_pack-01.t    4  1024    33    4  12.12%  14-17


I haven't bothered to include any further diagnostics because there is a 
much more simple, elegant fix.

Rather than exhaustively testing the existing behavior of 
config/auto/pack.pm, it would have been worthwhile to first to consider 
whether the existing behavior was worth maintaining.  A quick examination 
shows that the config step is determing "types" for the perl "pack" 
function, but these "types" are never used anywhere.  They haven't been 
used for years.

The correct fix here is to simply delete the config step and its 
associated tests.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to