|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2377 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 2377.
Report 2377 Actions
Problem Report Number 2377 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1228 Raised 2004-05-26 11:33 Updated 2004-05-29 03:14 Published 2004-05-29 03:14 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSX5 version 5.2.5 Test Identification LFS.os/streamio/fseek 3
LFS.os/streamio/fseeko 17
LFS.os/ioprim/lseek 2Specification Base Definitions Issue 6 Linked Problem Reports 1906 Problem Summary fseek 3, fseeko 17, lseek 2 tests fail for same reason as in UNIX98,
equivalent PIN should be issued.Problem Text These assertions fail for the same reasons as in UNIX98, a similar
PIN should be issued.Test Output
****************************************************************************************************************
/tset/LFS.os/ioprim/lseek/T.lseek 2 Failed
Test Description:
When the file position requested by a seek operation would be
larger
than the value that can be contained in an entity of type off_t,
then
a call to lseek() returns -1, sets errno to EOVERFLOW and the
file
pointer is unchanged.
Test Strategy:
SEEK to offset 1, using lseek()
CALL lseek(fd, LFS_NORMAL_OFFMAX, SEEK_CUR)
VERIFY that lseek() returned -1 and set errno to EOVERFLOW
Test Information:
lseek() set errno to 22 (EINVAL), expected 79 (EOVERFLOW)
****************************************************************************************************************
****************************************************************************************************************
/tset/LFS.os/streamio/fseek/T.fseek 3 Failed
Test Description:
When a call to fseek() attempts to set the file pointer to a
position
which cannot be represented in a value of type long, then the
call
returns -1 and sets errno to EOVERFLOW.
Test Strategy:
OPEN a file
FSEEK to offset 1
CALL fseek(fp, LONG_MAX, SEEK_CUR)
VERIFY that fseek() returned -1 and set errno to EOVERFLOW
Test Information:
fseek() set errno to 22 (EINVAL), expected 79 (EOVERFLOW)
****************************************************************************************************************
****************************************************************************************************************
/tset/LFS.os/streamio/fseeko/T.fseeko 17 Failed
Test Description:
When a call to fseeko() attempts to set the file pointer to a
position
which cannot be represented in a value of type off_t, then the
call
returns -1 and sets errno to EOVERFLOW.
Test Strategy:
OPEN a file
SEEK to offset 1, using fseeko()
CALL fseeko(fp, LFS_NORMAL_OFFMAX, SEEK_CUR)
VERIFY that fseeko() returned -1 and set errno to EOVERFLOW
Test Information:
fseeko() set errno to 22 (EINVAL), expected 79 (EOVERFLOW)
****************************************************************************************************************Review Information
Review Type TSMA Review Start Date 2004-05-26 11:33 Last Updated 2004-05-26 19:14 Completed 2004-05-26 19:14 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response I agree that the issue for which PIN.X.0225 was granted for UNIX98 still
exists for UNIX03. However, granting a new PIN may not be the best way
to resolve it.
Since EINVAL is only a valid alternative error under certain
circumstances, the test could be modified to check for those
circumstances and give a PASS or FAIL result accordingly. In which case
a TSD should be issued and this change made in the next test suite release.
Review Type SA Review Start Date 2004-05-26 18:14 Last Updated 2004-05-27 00:39 Completed 2004-05-27 00:39 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion The issue for which PIN.X.0225 was granted for UNIX98 still exists for
UNIX03. However a modification to the test to reflect the new behavior
has been identified for the next release. A test suite deficiency is
therefore appropriate in the interim.
Problem Reporting System Options:
- View Report 2377
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority