|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2515 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 2515.
Report 2515 Actions
Problem Report Number 2515 Submitter's Classification Specification problem State Resolved Resolution Permanent Interpretation (PIN) Problem Resolution ID PIN.X.0283 Raised 2006-04-10 23:51 Updated 2006-04-19 01:12 Published 2006-04-19 01:12 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSX4 version 4.6.5 Test Identification ANSI.os/string/strerror_X/T.strerror_X 2 Specification Base Definitions Issue 6 Location in Spec line 44900 in SUSv3 TC2 XSH. Linked Problem Reports 2477 Problem Summary Test expects non-null output from strerror() when SUSv3 does not. PIN.X.
0272 was issued for this issue for UNIX98 conformance, this PR is to
request a PIN for UNIX03 conformance.Problem Text see discussion in PR2477 and in Austin wg email discussion. Test Output
************************************************************************
/tset/ANSI.os/string/strerror_X/T.strerror_X 2 Failed
Test Description:
For XPG4 and UNIX98 modes:
When the value of errnum is not a valid error number, then
strerror(errnum) either sets errno to EINVAL or returns a
pointer
to a message string and does not change errno.
For other test modes:
When errnum has any value in the range INT_MIN to INT_MAX,
then
strerror(errnum) returns a pointer to a message string and
may (if
errnum is not a valid error number) set errno to EINVAL.
Test Strategy:
IF the test mode is XPG4 or UNIX98:
SET errno to zero
CALL strerror(-1)
IF errno is zero:
VERIFY that strerror() returned a pointer to a message
string
OTHERWISE:
VERIFY that errno is equal to EINVAL
OTHERWISE:
FOR errnum values INT_MIN, -1, and INT_MAX:
SET errno to zero
CALL strerror(errnum)
VERIFY that errno is zero
VERIFY that strerror() returned a pointer to a message
string
Test Information:
strerror(-2147483648) returned empty string
strerror(-1) returned empty string
strerror(2147483647) returned empty string
************************************************************************
Review Information
Review Type SA Review Start Date 2006-04-10 23:51 Last Updated 2006-04-19 00:25 Completed 2006-04-19 00:25 Status Complete Review Resolution Temporary Interpretation (TIN) Review Conclusion The issue this PR defines is under review in the Austin Group. A
temporary interpretation is thus granted.
Problem Reporting System Options:
- View Report 2515
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority