bugmake - Bugs: bug #35764, features/file test will fail in...

 
 

bug #35764: features/file test will fail in non-English environments

Submitter:  Tim Landscheidt <scfcde>
Submitted:  Thu 08 Mar 2012 06:05:43 PM UTC
   
 
Severity:  3 - Normal Item Group:  Build/Install
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.0 Operating System:  POSIX-Based
Fixed Release:  4.0 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 09 Sep 2012 10:53:11 PM UTC, comment #1: 

Fixed, thanks.

Paul D. Smith <psmith>
Group administrator
Thu 08 Mar 2012 06:05:43 PM UTC, original submission:  

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.

Tim Landscheidt <scfcde>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by scfcde (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-09 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0
    2012-03-08 scfcde Attached File- Added 0001-Make-features-file-test-locale-independent.patch, #25300

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code