On 2017-08-21 11:17:45, SREZIC wrote:
Show quoted text> On 2017-07-29 12:19:31, SREZIC wrote:
>
> Additionally, the test may fail for non-English locales. E.g. with
> LC_ALL=de_DE.UTF-8:
>
> # Failed test 'Permission denied to read process with pid 1'
> # at t/04.t line 22.
> # 'Linux::Smaps: Cannot open /proc/1/smaps: Keine
> Berechtigung
> # '
> # doesn't match '(?-xism:read failed)'
>
> # Failed test ' ->lasterror'
> # at t/04.t line 28.
> # 'Cannot open /proc/1/smaps: Keine Berechtigung'
> # doesn't match '(?-xism:read failed)'
> # Looks like you failed 2 tests of 4.
> t/04.t ..........
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 2/4 subtests
The non-English locale problem depends also on the perl version: it does not happen for newer perls (probably since 5.22). The failure above was generated with perl 5.12.3.