[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #35764] features/file test will fail in non-English environments
From: |
Tim Landscheidt |
Subject: |
[bug #35764] features/file test will fail in non-English environments |
Date: |
Thu, 08 Mar 2012 18:05:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.9) Gecko/20100330 Fedora/3.5.9-1.fc11 Firefox/3.5.9 |
URL:
<http://savannah.gnu.org/bugs/?35764>
Summary: features/file test will fail in non-English
environments
Project: make
Submitted by: scfcde
Submitted on: Do 08 Mär 2012 18:05:43 GMT
Severity: 3 - Normal
Item Group: Build/Install
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: CVS
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
tests/scripts/features/file determines the expected error message by:
| # Find the error that will be printed
| my $e;
| open(my $F, '>', 'file.out') and die "Opened read-only file!\n";
| $e = "$!";
This will reflect the locale set at the beginning of the script. The spawned
make however will run with the cleansed LC_ALL=C environment which will give
the error message in English.
The attached patch fixes this for me.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Do 08 Mär 2012 18:05:43 GMT Name:
0001-Make-features-file-test-locale-independent.patch Size: 984B By: scfcde
<http://savannah.gnu.org/bugs/download.php?file_id=25300>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35764>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #35764] features/file test will fail in non-English environments,
Tim Landscheidt <=