|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0225 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 0225.
Report 0225 Actions
Problem Report Number 0225 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0225 Raised 1995-05-07 08:00 Updated 2003-03-13 08:00 Published 1995-06-11 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.5 Test Identification ANSI.os/string/strcoll_X 2 Problem Summary TSD4.225 This interpretation request is also for the following tests, which have the same problem: /tset/ANSI.os/string/strxfrm_X/T.strxfrm_X 2 Failed /tset/XPG4.os/wstring/wcscoll/T.wcscoll 1 Failed /tset/XPG... Problem Text
This interpretation request is also for the following tests, which have
the same problem:
/tset/ANSI.os/string/strxfrm_X/T.strxfrm_X 2 Failed
/tset/XPG4.os/wstring/wcscoll/T.wcscoll 1 Failed
/tset/XPG4.os/wstring/wcsxfrm/T.wcsxfrm 1 Failed
As noted in the output above, the tests are expecting the C locale
collating order to be in effect for VSX4L0 since no LC_COLLATE category
was defined in the VSX4L0 source file. This test is not supported by
the XPG4 V2 XBD or XSH specifications.
The XBD spec on page 46(V2) under section 5.3 "Locale Definition" states
the following:
" ... In the event that some of the information for a locale category, as
specified in this document is missing from the locale source definition,
the behaviour of that category, if it is referenced, is unspecified."
The XSH spec on page 596 in the description section for strcoll() states
the following:
"The strcoll() function compares the string pointed to by s1 to the string
pointed to by s2, both interpreted as appropriate to the LC_COLLATE category
of the current locale."
No mention is made of defaulting undefined categories to the C locale definition
in either of these sections (or any other section of the specs that I can fin)
when setlocale(LC_COLLATE,VSX4L0) has been invoked.Test Output
************************************************************************
/tset/ANSI.os/string/strcoll_X/T.strcoll_X 2 Failed
Test Description:
strcoll() works like strcmp() if :
a. there has been no previously successful call to setlocale();
b. collating information is not available for the currently specified
language;
Test Strategy:
CREATE child process
VERIFY collation is as per 'C' locale when no locale has been set
SET locale to VSX4L0
VERIFY collation is as per 'C' locale when locale with no collating
information has been set
Test Information:
strcoll acts like strcmp when the collating information for the locale
is not available
Current language setting is VSX4L0
strcoll did not return expected value
value of first argument : 726f636c6574 (roclet)
value of second argument : 726f636865 (roche)
expected return value : > 0
actual return value : 0
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
It is accepted that this is a test suite fault and it is recommended
that a waiver is granted on the grounds of a test suite deficiency.
It seems that tests for this default behaviour were generated from text
in XPG3 and the tests were not modified when the behaviour was made to
be implementation specific.
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 0225
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority