|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2453 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 2453.
Report 2453 Actions
Problem Report Number 2453 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1278 Raised 2005-03-23 02:15 Updated 2005-03-24 18:13 Published 2005-03-24 18:13 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSRT version 5.3.3 Test Identification rt.os/syncio/fdatasync/T.fdatasync 3 Specification Base Definitions Issue 6 Location in Spec 11297 of SUSv3 TC2 pdf file Problem Summary incorrect type passed to system call under test Problem Text The test has the following code in it:
char *str;
...
fd = open(str, O_RDWR);
...
if (tb_fdatasync(str) != -1) {
...
private int tb_fdatasync(fildes)
int fildes;
as you can see a string is being passed to tb_fdatasync() rather the
required int(fd).Test Output
************************************************************************
/tset/rt.os/syncio/fdatasync/T.fdatasync 3 Failed
Test Description:
If _POSIX_SYNCHRONIZED_IO is defined or the implementation supports
the fdatasync() function as described in XSH5 and XSH6:
A call to fdatasync() when the implementation does not support
synchronized I/O for fildes. shall return -1 and set errno to
EINVAL.
Test Information:
fdatasync() failed for "/dev/ptc", but errno = 9 (EBADF)
************************************************************************Review Information
Review Type TSMA Review Start Date 2005-03-23 02:15 Last Updated 2005-03-23 17:39 Completed 2005-03-23 17:39 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Review Type SA Review Start Date 2005-03-23 17:39 Last Updated 2005-03-24 18:13 Completed 2005-03-24 18:13 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 2453
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority