|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1898 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 1898.
Report 1898 Actions
Problem Report Number 1898 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0959 Raised 2002-08-23 08:00 Updated 2003-03-13 08:00 Published 2002-09-10 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSX5 version 5.1.6 Test Identification MSE.os/wchar/btowc 1 Problem Summary TSD5.028 The problem with both test cases is a mistaken assumption on the wide-character representation. The test calls btowc with each singlebyte character defined in the vsx4l1chars[] array and compares the ... Problem Text
The problem with both test cases is a mistaken assumption on the
wide-character representation. The test calls btowc with each
singlebyte character defined in the vsx4l1chars[] array and compares
the wide-character value returned by btowc with the specified
singlebyte character value itself. If they differ, the test reports a
failure. As there is no guarantee that the wide-character
representation of a singlebyte character value corresponds to the
singlebyte character value itself, such an assumption used in the
btowc and wctob tests are wrong.
When the above comparison failed, the test tries to output the failed
singlebyte character as is. Those characters defined in the
vsx4l1chars[] array are not from the portable character set, so they
are not printable in the C locale. VSX should not output
non-printable characters in the journal file. Those characters should
be translated into the printable characters using the psl_to_asc()
function in genlib. Please refer to "2.4 SPECIAL CONSIDERATIONS" in
the Pseudo-language Specification (for VSXgen 1.6), page 2.Test Output
10|448 /tset/MSE.os/wchar/btowc/T.btowc 19:11:17|TC Start, scenario ref 449-0
15|448 3.3-lite 3|TCM Start
400|448 1 1 19:11:17|IC Start
200|448 1 19:11:17|TP Start
520|448 1 00026076 1 1|btowc('') returned 805306444 when expected to return 20
4
520|448 1 00026076 1 2|whilst using VSX4L1 locale
520|448 1 00026076 1 3|btowc('') returned 805306445 when expected to return 20
5
520|448 1 00026076 1 4|whilst using VSX4L1 locale
520|448 1 00026076 1 5|btowc('') returned 805306446 when expected to return 20
6
520|448 1 00026076 1 6|whilst using VSX4L1 locale
520|448 1 00026076 1 7|btowc('') returned 805306447 when expected to return 20
7
520|448 1 00026076 1 8|whilst using VSX4L1 locale
520|448 1 00026076 1 9|btowc('') returned 805306460 when expected to return 22
0
520|448 1 00026076 1 10|whilst using VSX4L1 locale
520|448 1 00026076 1 11|btowc('') returned 805306461 when expected to return 2
21
520|448 1 00026076 1 12|whilst using VSX4L1 locale
520|448 1 00026076 1 13|btowc('') returned 805306462 when expected to return 2
22
520|448 1 00026076 1 14|whilst using VSX4L1 locale
520|448 1 00026076 1 15|btowc('') returned 805306463 when expected to return 2
23
520|448 1 00026076 1 16|whilst using VSX4L1 locale
520|448 1 00026076 1 17|path tracing error: path counter 104, expected 112
220|448 1 1 19:11:17|FAIL
410|448 1 1 19:11:17|IC End
10|455 /tset/MSE.os/wchar/wctob/T.wctob 19:11:25|TC Start, scenario ref 456-0
15|455 3.3-lite 2|TCM Start
400|455 1 1 19:11:25|IC Start
200|455 1 19:11:25|TP Start
520|455 1 00026095 1 1|wctob('/') returned 4294967295 when expected to return 20
4
520|455 1 00026095 1 2|whilst using VSX4L1 locale
520|455 1 00026095 1 3|wctob('/') returned 4294967295 when expected to return 20
5
520|455 1 00026095 1 4|whilst using VSX4L1 locale
520|455 1 00026095 1 5|wctob('/') returned 4294967295 when expected to return 20
6
520|455 1 00026095 1 6|whilst using VSX4L1 locale
520|455 1 00026095 1 7|wctob('/') returned 4294967295 when expected to return 20
7
520|455 1 00026095 1 8|whilst using VSX4L1 locale
520|455 1 00026095 1 9|wctob('/') returned 4294967295 when expected to return 22
0
520|455 1 00026095 1 10|whilst using VSX4L1 locale
520|455 1 00026095 1 11|wctob('/') returned 4294967295 when expected to return 2
21
520|455 1 00026095 1 12|whilst using VSX4L1 locale
520|455 1 00026095 1 13|wctob('/') returned 4294967295 when expected to return 2
22
520|455 1 00026095 1 14|whilst using VSX4L1 locale
520|455 1 00026095 1 15|wctob('/') returned 4294967295 when expected to return 2
23
520|455 1 00026095 1 16|whilst using VSX4L1 locale
520|455 1 00026095 1 17|path tracing error: path counter 104, expected 112
220|455 1 1 19:11:25|FAIL
410|455 1 1 19:11:25|IC EndTheReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a fault in the test suite.
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 1898
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority