Bug 142942

Summary: cant print names and values of selected locale keyword
Product: Red Hat Enterprise Linux 4 Reporter: Lawrence Lim <llim>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: eng-i18n-bugs, fweimer, tools-bugs
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: 2004-12-15 09:25:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 142941    
Attachments:
Description Flags
script with a single Test Case from LI18NUX Test none

Description Lawrence Lim 2004-12-15 07:36:58 UTC
Description of problem:
This bug is filed as it is one of the errors reported in the LI18nUX
test suite, part of the LSB conformance test.

I have stripped down the test suite to only the single test case. I
would really appreciate if you could have a look and let me know if
this is a glibc error or Test Case issue?

Version-Release number of selected component (if applicable):
glibc-devel-2.3.3-86
glibc-profile-2.3.3-86
glibc-headers-2.3.3-86
compat-glibc-headers-2.3.2-95.30
glibc-2.3.3-86
glibc-kernheaders-2.4-9.1.87
compat-glibc-2.3.2-95.30
glibc-common-2.3.3-86
glibc-utils-2.3.3-86

How reproducible:
Always

Steps to Reproduce:
1.Down the attachment, locale.tar.gz
2.run ./locale.sh
3.view the result in the output file, tet_xres
  
Actual results:
ctype-class-offset=71 should be ctype-class-offset=70
ctype-map-offset=90 should be ctype-map-offset=89
Can't print names and values of selected locale keyword.

Expected results:
When -k option is specified, this utility writes the names and values
of selected keywords

Additional info:
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=108593&action=view

Comment 1 Lawrence Lim 2004-12-15 07:38:53 UTC
Created attachment 108594 [details]
script with a single Test Case from LI18NUX Test

Comment 2 Jakub Jelinek 2004-12-15 09:25:29 UTC
Testsuite bug, here is what I posted in my analysis of LSB 1.3 failures:
520|553 6 22710 1 1|* When -k option is specified, verify if this utility writes the names and values of selected keywords.
520|553 6 22710 1 2|
520|553 6 22710 1 3|ctype-class-offset=71 should be ctype-class-offset=70
520|553 6 22710 1 4|ctype-map-offset=90 should be ctype-map-offset=89
520|553 6 22710 1 5|Can't print names and values of selected locale keyword.
220|553 6 1 00:21:07|FAIL

This was increased because of the addition of _NL_CTYPE_MAP_TO_NONASCII
I'd say the LSB testsuite has no business testing these values, these values
are in no way useful for applications and are implementation detail.
These values are no longer tested in LSB 2.0.