Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the ack CPAN distribution.

Maintainer(s)' notes

ack's issues are tracked at https://github.com/petdance/ack2

Report information
The Basics
Id: 25391
Status: resolved
Priority: 0/
Queue: ack

People
Owner: Nobody in particular
Requestors: jerry.gay [...] gmail.com
Cc:
AdminCc:

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



Subject: [BUG] test failures with 1.60 (r280) on win32
Date: Mon, 12 Mar 2007 09:57:13 -0700
To: bug-ack [...] rt.cpan.org
From: "jerry gay" <jerry.gay [...] gmail.com>
D:\usr\local\ack>nmake test Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. D:\usr\local\perl\bin\perl.exe -MExtUtils::Command -e cp ack blib\script \ack pl2bat.bat blib\script\ack D:\usr\local\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harn ess(0, 'blib\lib', 'blib\arch')" t/*.t t/00-load.........ok 1/1# Testing App::Ack 1.60, Perl 5.008008, D:\usr\local\per l\bin\perl.exe t/00-load.........ok t/ack-a...........NOK 1 # Failed test 'File lists match' # in t/ack-a.t at line 30. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = 't\etc\buttonhook.html.xxx' # Looks like you failed 1 test of 1. t/ack-a...........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/ack-binary......NOK 3 # Failed test 'Looking for binary' # in t/ack-binary.t at line 33. # +----+--------------------------------+----+----------+ # | Elt|Got | Elt|Expected | # +----+--------------------------------+----+----------+ # * 0|[ * 0|[] * # * 1| 't\\etc\\shebang.empty.xxx', * | | # * 2| 't\\swamp\\moose-andy.jpg' * | | # * 3|] * | | # +----+--------------------------------+----+----------+ # Looks like you failed 1 test of 3. t/ack-binary......dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 3 Failed 1/3 tests, 66.67% okay t/ack-c...........NOK 1 # Failed test 'Looking for religion' # in t/ack-c.t at line 22. # +----+----------------------------------+----+----------+ # | Elt|Got | Elt|Expected | # +----+----------------------------------+----+----------+ # * 0|[ * 0|[] * # * 1| 't\\text\\science-of-myth.txt' * | | # * 2|] * | | # +----+----------------------------------+----+----------+ # Failed test 'Religion counts' # in t/ack-c.t at line 39. # +----+---------------------------------------+----+----------+ t/ack-c...........NOK 2# | Elt|Got | Elt|Expe cted | # +----+---------------------------------------+----+----------+ # * 0|[ * 0|[] * # * 1| 't\\text\\boy-named-sue.txt:0', * | | # * 2| 't\\text\\freedom-of-choice.txt:0', * | | # * 3| 't\\text\\science-of-myth.txt:2', * | | # * 4| 't\\text\\shut-up-be-happy.txt:0' * | | # * 5|] * | | # +----+---------------------------------------+----+----------+ # Failed test 'Religion counts -l -c' # in t/ack-c.t at line 53. # +----+------------------------------------+----+----------+ # | Elt|Got | Elt|Expected | # +----+------------------------------------+----+----------+ # * 0|[ * 0|[] * # * 1| 't\\text\\science-of-myth.txt:2' * | | t/ack-c...........NOK 3# * 2|] * | | # +----+------------------------------------+----+----------+ # Looks like you failed 3 tests of 3. t/ack-c...........dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/ack-type........ok t/ack-v...........NOK 1 # Failed test 'No religion please' # in t/ack-v.t at line 25. # +----+-------------------------------------+----+----------+ # | Elt|Got | Elt|Expected | # +----+-------------------------------------+----+----------+ # * 0|[ * 0|[] * # * 1| 't\\text\\boy-named-sue.txt', * | | # * 2| 't\\text\\freedom-of-choice.txt', * | | # * 3| 't\\text\\shut-up-be-happy.txt' * | | # * 4|] * | | # +----+-------------------------------------+----+----------+ # Failed test 'Non-religion counts' t/ack-v...........NOK 2# in t/ack-v.t at line 42. # +----+----------------------------------------+----+----------+ # | Elt|Got | Elt|Expected | # +----+----------------------------------------+----+----------+ # * 0|[ * 0|[] * # * 1| 't\\text\\boy-named-sue.txt:72', * | | # * 2| 't\\text\\freedom-of-choice.txt:50', * | | # * 3| 't\\text\\science-of-myth.txt:24', * | | # * 4| 't\\text\\shut-up-be-happy.txt:26' * | | # * 5|] * | | # +----+----------------------------------------+----+----------+ # Looks like you failed 2 tests of 2. t/ack-v...........dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/filetypes.......Can't locate Util.pm in @INC (@INC contains: t D:\usr\local\ac k\blib\lib D:\usr\local\ack\blib\arch D:/usr/local/perl/lib D:/usr/local/perl/si te/lib) at t/filetypes.t line 10. BEGIN failed--compilation aborted at t/filetypes.t line 10. t/filetypes.......dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-28 Failed 28/28 tests, 0.00% okay t/interesting.....Can't locate Util.pm in @INC (@INC contains: t D:\usr\local\ac k\blib\lib D:\usr\local\ack\blib\arch D:/usr/local/perl/lib D:/usr/local/perl/si te/lib) at t/interesting.t line 10. BEGIN failed--compilation aborted at t/interesting.t line 10. t/interesting.....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-8 Failed 8/8 tests, 0.00% okay t/pod-coverage....ok t/pod.............ok t/standalone......ok 1/4 t/standalone......NOK 4# Failed test 'Got expected output' # in t/standalone.t at line 32. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = 'package File::Next;' # Looks like you failed 1 test of 4. t/standalone......dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 4 Failed 1/4 tests, 75.00% okay t/zero............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/ack-a.t 1 256 1 1 100.00% 1 t/ack-binary.t 1 256 3 1 33.33% 3 t/ack-c.t 3 768 3 3 100.00% 1-3 t/ack-v.t 2 512 2 2 100.00% 1-2 t/filetypes.t 2 512 28 56 200.00% 1-28 t/interesting.t 2 512 8 16 200.00% 1-8 t/standalone.t 1 256 4 1 25.00% 4 Failed 7/12 test scripts, 41.67% okay. 44/72 subtests failed, 38.89% okay. NMAKE : fatal error U1077: 'D:\usr\local\perl\bin\perl.exe' : return code '0xff' Stop. D:\usr\local\ack>svn info Path: . URL: https://ack.googlecode.com/svn/trunk Repository Root: https://ack.googlecode.com/svn Repository UUID: 0c8536a8-3c1a-0410-a247-91dcf638db7e Revision: 283 Node Kind: directory Schedule: normal Last Changed Author: petdance Last Changed Rev: 280 Last Changed Date: 2007-03-09 20:35:39 -0800 (Fri, 09 Mar 2007) D:\usr\local\ack>
Jerry says that replacing the glob() in ack with a <> fixes the test failures. So that's what I'm going with.