Skip Menu |

This queue is for tickets about the File-ExtAttr CPAN distribution.

Report information
The Basics
Id: 27864
Status: resolved
Priority: 0/
Queue: File-ExtAttr

People
Owner: richdawe [...] cpan.org
Requestors: martijn [...] vandestreek.net
Cc:
AdminCc:

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



Subject: Tests fail with nl_NL locale set
Date: Sun, 1 Jul 2007 22:20:30 +0200
To: bug-File-ExtAttr [...] rt.cpan.org
From: Martijn van de Streek <martijn [...] foodfight.org>
Hello, I've set my system locale to nl_NL, and the File::ExtAttr tests fail. Forcing the locale back to C using 'LC_ALL=C' makes the tests work. I think the tests should either not depend on language-dependent strings, or force the locale to C, so they can depend on their language. Martijn -- Sorry isn't an excuse when you do something stupid on purpose.
Download signature.asc
application/pgp-signature 829b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #27864] AutoReply: Tests fail with nl_NL locale set
Date: Mon, 2 Jul 2007 06:14:10 +0200
To: Bugs in File-ExtAttr via RT <bug-File-ExtAttr [...] rt.cpan.org>
From: Martijn van de Streek <martijn [...] foodfight.org>
On Sun, 01 Jul 2007, Bugs in File-ExtAttr via RT wrote: Show quoted text
> I've set my system locale to nl_NL, and the File::ExtAttr tests fail. > Forcing the locale back to C using 'LC_ALL=C' makes the tests work. > > I think the tests should either not depend on language-dependent > strings, or force the locale to C, so they can depend on their language.
This is for File-ExtAttr 1.04, on Ubuntu 7.04 ('Feisty') btw. Martijn -- Sorry isn't an excuse when you do something stupid on purpose.
Download signature.asc
application/pgp-signature 829b

Message body not shown because it is not plain text.

Attached is the current output of the following commands with File::ExtAttr CVS on my Fedora 7 i386 machine: export LC_ALL=nl_NL make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00load.............# Testing File::ExtAttr 1.05, Perl 5.008008, /usr/bin/perl ok t/01distribution.....ok t/02load-all.........ok t/03pod-coverage.....ok t/04yaml-meta........ok t/11basic............ok t/13long.............ok t/14optional.........ok t/15create...........setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. ok t/16replace..........ok t/17createreplace....ok t/18list.............setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. setxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. fsetxattr failed: Bestand bestaat al at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. ok t/20tie-basic........ok t/22tie-nonuser...... # Failed test at t/22tie-nonuser.t line 51. # got: '' # expected: '1' # Failed test at t/22tie-nonuser.t line 56. # got: '' # expected: '1' # Failed test at t/22tie-nonuser.t line 60. # got: '' # expected: '1' # Failed test at t/22tie-nonuser.t line 51. # got: '' # expected: '1' # Failed test at t/22tie-nonuser.t line 56. # got: '' # expected: '1' # Failed test at t/22tie-nonuser.t line 60. # got: '' # expected: '1' # Failed test at t/22tie-nonuser.t line 76. # got: '' # expected: '1' # Failed test at t/22tie-nonuser.t line 76. # got: '' # expected: '1' # Looks like you failed 8 tests of 20. dubious Test returned status 8 (wstat 2048, 0x800) DIED. FAILED tests 2, 4, 6, 9, 11, 13, 16, 18 Failed 8/20 tests, 60.00% okay t/30nsbasic..........ok t/31nsmultiple.......ok t/32nsnonuser........ # Failed test at t/32nsnonuser.t line 43. # got: '' # expected: '1' # Failed test at t/32nsnonuser.t line 50. # got: '' # expected: '1' # Looks like you failed 2 tests of 4. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1, 3 Failed 2/4 tests, 50.00% okay t/33nslong...........ok t/39nsempty..........setxattr failed: Bewerking wordt niet ondersteund - perhaps the extended attribute's name needs a "user." prefix? at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. getxattr failed: Bewerking wordt niet ondersteund - perhaps the extended attribute's name needs a "user." prefix? at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 232. getxattr failed: Bewerking wordt niet ondersteund - perhaps the extended attribute's name needs a "user." prefix? at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 232. setxattr failed: Bestand of map bestaat niet at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 266. getxattr failed: Bestand of map bestaat niet at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 232. getxattr failed: Bestand of map bestaat niet at /home/rich/src/file-extattr.cvs/File-ExtAttr/blib/lib/File/ExtAttr.pm line 232. ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/22tie-nonuser.t 8 2048 20 8 40.00% 2 4 6 9 11 13 16 18 t/32nsnonuser.t 2 512 4 2 50.00% 1 3 Failed 2/19 test scripts, 89.47% okay. 10/293 subtests failed, 96.59% okay. make: *** [test_dynamic] Fout 255
Fixed in CVS. If you would like to try the fix, you can get it by following the instructions at <http://sourceforge.net/cvs/?group_id=153116>. The fix will also be in 1.05. Thanks for reporting this bug!
Fixed in CVS. If you would like to try the fix, you can get it by following the instructions at <http://sourceforge.net/cvs/?group_id=153116>. The fix will also be in 1.05. Thanks for reporting this bug!