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

 
 

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

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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Fixed, thanks.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.4