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/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make