beyondgrep / ack2

**ack 2 is no longer being maintained. ack 3 is the latest version.**
https://github.com/beyondgrep/ack3/
Other
1.48k stars 138 forks source link

Tests related to .ackrc fail on Windows #636

Closed petdance closed 4 years ago

petdance commented 7 years ago

Examples

http://cpantesters.org/cpan/report/146e2d9e-6bfa-1014-bc68-6fff5b8cc5d0


#   Failed test 'don't load the same ackrc file twice'
#   at t/config-finder.t line 226.
#     Structures begin differing at:
#          $got->[3] = HASH(0xe9a1c4)
#     $expected->[3] = Does not exist
# [
#   {
#     'path' => 'C:/Documents and Settings/All Users/Application Data/ackrc'
#   },
#   {
#     'path' => 'C:/Documents and Settings/c/Application Data/ackrc'
#   },
#   {
#     'path' => 'C:/tmp/NSSQ2NYQyP/foo/.ackrc'
#   },
#   {
#     'path' => 'C:/tmp/NSSQ2NYQyP/foo/.ackrc',
#     'project' => 1
#   }
# ]
# Looks like you failed 1 test of 26.
#   Failed test at t/ack-o.t line 128.
# []

#   Failed test at t/ack-o.t line 129.
# [
#   'Options --output, --pager and --match are forbidden in project .ackrc files.',
#   'ack: Invalid option in C:\\tmp\\F9DOfwxuyC\\.ackrc'
# ]

#   Failed test at t/ack-o.t line 144.
# []

#   Failed test at t/ack-o.t line 145.
# [
#   'Options --output, --pager and --match are forbidden in project .ackrc files.',
#   'ack: Invalid option in C:\\tmp\\F9DOfwxuyC\\.ackrc'
# ]
# Looks like you failed 4 tests of 12.
t/ack-o.t .................... 
Dubious, test returned 4 (wstat 1024, 0x400)
#   Failed test at t/ack-match.t line 63.
# []

#   Failed test at t/ack-match.t line 64.
# [
#   'Options --output, --pager and --match are forbidden in project .ackrc files.',
#   'ack: Invalid option in C:\\tmp\\Vgx4THDhNe\\.ackrc'
# ]

#   Failed test at t/ack-match.t line 79.
# []

#   Failed test at t/ack-match.t line 80.
# [
#   'Options --output, --pager and --match are forbidden in project .ackrc files.',
#   'ack: Invalid option in C:\\tmp\\Vgx4THDhNe\\.ackrc'
# ]
# Looks like you failed 4 tests of 14.
petdance commented 7 years ago

I don't know how this is on 2.17_01 as cpantesters is backlogged on 2.17_01 reports.

But here's a link to the page for dev releases:

http://cpantesters.org/distro/A/ack.html?grade=1&perlmat=2&patches=2&oncpan=2&distmat=3&perlver=ALL&osname=ALL&version=2.16

petdance commented 4 years ago

There will be no more releases of ack 2. If this is still a problem with ack 3, please make an issue there: https://github.com/beyondgrep/ack3.