Bug 525365

Summary: Execute locale with a non existent category name return success
Product: [Fedora] Fedora Reporter: Yang Ren <ryang>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: drepper, jakub, llim, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-24 09:35:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Yang Ren 2009-09-24 03:37:24 UTC
Description of problem:
Execute locale with a non existent category name return success

Version-Release number of selected component (if applicable):
Linux localhost.localdomain 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27 17:27:08
EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

glibc-2.10.90-23.x86_64
glibc-common-2.10.90-23.x86_64


How reproducible:
Always

Steps to Reproduce:
1.locale -c LC_NO_SUCH_CATEGORY_ANYWHERE
2.
3.
  
Actual results:
$? = 0

Expected results:
R? = 1

Additional info:
It's a part of POSIX shell test from opengroup.

Comment 1 Andreas Schwab 2009-09-24 09:35:01 UTC

*** This bug has been marked as a duplicate of bug 525363 ***