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 - NormalItem Group: Build/Install
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.0Operating System: POSIX-Based
Fixed Release: 4.0Triage 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 File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Sep 2012 10:53:11 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.0
    Thu 08 Mar 2012 06:05:43 PM UTCscfcdeAttached File-=>Added 0001-Make-features-file-test-locale-independent.patch, #25300

    Back to the top


    Powered by Savane 3.1-cleanup1