Le 2007-02-21 05:23:07, micha137 a écrit :
Show quoted text> Cause is the regex m/^Resource temporarily/ in the method _do_filters in
> IPC/Run/IO.pm.
>
> A numerical value from $! should be used here, not sure.
Same problem here: t/pty.t fails if the locale is not english.
This is IPC::Run 0.89 on Ubuntu 10.10 with perl 5.10.1 and LANG=fr_FR.UTF-8
$ LANG=fr_FR.UTF-8 perl -Ilib t/pty.t
1..32
# IO::Tty 1.08, IO::Pty 1.08
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ack Erreur d'entrée/sortie: read( 3 ) at lib/IPC/Run/IO.pm line 558
# Looks like you planned 32 tests but ran 13.
# Looks like your test exited with 5 just after 13.
$ LANG=C perl -Ilib t/pty.t
1..32
# IO::Tty 1.08, IO::Pty 1.08
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
--
Olivier Mengué -
http://search.cpan.org/~dolmen/ http://github.com/dolmen/