|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1891 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 1891.
Report 1891 Actions
Problem Report Number 1891 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0952 Raised 1999-12-08 08:00 Updated 2003-03-13 08:00 Published 1999-12-13 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.5 Test Identification MSE.hdr/misc/wchar 1 Problem Summary TSD5.021 tset/MSE.hdr/misc/wchar/T.wchar Test No:1 The way the test determines the datatype of WCHAR_MAX and WCHAR_MIN is not portable and does not work in our environment. The test sets the variable wc_signed... Problem Text
tset/MSE.hdr/misc/wchar/T.wchar Test No:1
The way the test determines the datatype of
WCHAR_MAX and WCHAR_MIN is not portable and
does not work in our environment.
The test sets the variable wc_signed by testing
the value of variable wc which by default in the
test is -1 in the begining of the test and the
value remains unaltered through out.
wc_signed = (wc == -1);
This sets wc_signed to true always, and the false
condition never occurs.Test Output
************************************************************************
/tset/MSE.hdr/misc/wchar/T.wchar 1 Failed
Test Description:
When the header file <wchar.h> is included, then the
macros WCHAR_MAX
and WCHAR_MIN are defined with values representing the
minimum and
maximum that can be represented in an object of type
wchar_t.
Test Strategy:
VERIFY WCHAR_MAX is defined
VERIFY WCHAR_MIN is defined
VERIFY WCHAR_MAX has a value that is the maximum that can
be stored in
an object of type wchar.
VERIFY WCHAR_MIN has a value that is the minimum that can
be stored in
an object of type wchar.
Test Information:
Feature test macros: -D_XOPEN_SOURCE=500
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_SOURCE
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=1
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=1
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=2
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=2
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=199309
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=199309
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=199506
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=199506
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Incorrect value for WCHAR_MAX
************************************************************************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 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 1891
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority