|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0027 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0027.
Report 0027 Actions
Problem Report Number 0027 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0027 Raised 1992-09-18 08:00 Updated 2003-03-13 08:00 Published 1992-09-29 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.3 Test Identification XOPEN.os/locale/catopen 2 Problem Summary TSD4.027 This fails on VSX4.2.3 due to a problem with the test suite. Our system passes the test using VSX4.2.4beta where this test has had an additional block of code inserted at the start of this testset to ... Problem Text
This fails on VSX4.2.3 due to a problem with the test suite.
Our system passes the test using VSX4.2.4beta where this test has
had an additional block of code inserted at the start of this testset to call
setlocale(LC_MESSAGES,"C").Test Output
************************************************************************
/tset/XOPEN.os/locale/catopen/T.catopen 2 Failed
Test Description:
If oflag is set to zero, name does not contain a "/" and the
environment variable NLSPATH exists, then catopen() opens the message
catalogue specified and returns a catalogue descriptor for it, using
NLSPATH as a search path such that :
a. a ":" (colon) in the search path is used as a delimiter for
each individual pathname;
b. a "%N" in the search path is substituted by the value of the
parameter name passed to catopen();
c. a "%L" in the search path is substituted by the value of the
environment variable LANG;
d. a "%l" in the search path is substituted by the language
element of the environment variable LANG;
e. a "%t" in the search path is substituted by the territory
element of the environment variable LANG;
f. a "%c" in the search path is substituted by the codeset
element of the environment variable LANG;
g. a "%%" in the search path is substituted for a single "%"
character;
h. a null string is substituted if any of name, language,
territory or codeset are not specified;
i. the separators "_" and "." are not included in the "%t" and
"%c" substitutions;
j. a leading or two adjacent colons ("::") is equivalent to
specifying "%N".
Test Strategy:
SET LANG and NLSPATH
OPEN catalogue using catopen()
VERIFY that catopen() was able to open all message catalogues
Test Information:
catopen(, 1) failed
catopen substitutes %L in NLSPATH with LANG
Expected return value: (valid catd)
Actual return value: -1
catopen(test, 1) failed
catopen substitutes %l in NLSPATH with the language from LANG
Expected return value: (valid catd)
Actual return value: -1
catopen(test, 1) failed
catopen substitutes %t in NLSPATH with the territory from LANG
Expected return value: (valid catd)
Actual return value: -1
catopen(test, 1) gave wrong catalogue
catopen substitutes %c in NLSPATH with the codeset from LANG
Expected catalogue identifier: Catalogue ./test.CS.c_t
Actual catalogue identifier: Catalogue ./test..c_t
************************************************************************
Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a test suite fault and a permanent waiver is recommended.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 0027
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority