ack3
ack3 copied to clipboard
t/ack-x.t may fail on systems where a non-English locale is active
t/ack-x.t may fail on systems where a non-English locale is active (e.g. LC_ALL=de_DE.UTF-8):
# Failed test 'Error \#2 matches'
# at t/ack-x.t line 98.
# 'ack: /tmp/oFxPwydBrG: Keine Berechtigung'
# doesn't match '(?^:\/tmp\/oFxPwydBrG\:\ Permission\ denied)'
# Looks like you failed 1 test of 5.
# Failed test 'GH \#175'
# at t/ack-x.t line 106.
# Looks like you failed 1 test of 2.
t/ack-x.t ....................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Maybe we need two versions of the test, and select strict (exact expected-message) vs looser (any message) based on Locale. (Or equivalently, have looser test always and SKIP strict test if locale not one of the EN* locales.)
Happens also with PETDANCE/ack-v3.5.0.tar.gz