|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2577 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 2577.
Report 2577 Actions
Problem Report Number 2577 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1337 Raised 2012-04-24 12:05 Updated 2012-04-24 16:01 Published 2012-04-24 16:01 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSU version 5.3.4 Test Identification CAPI.os/ioprim/select/T.select 7 Specification Base Definitions Issue 6 Location in Spec See problem text Problem Summary Test program using the wrong file descriptor as select
parametersProblem Text The test program is prepared to test select(). According to the
specification, the second parameter of select() is readfds:
"If the readfds argument is not a null pointer, it points to an
object of type fd_set that on input specifies the file
descriptors to be checked for being ready to read, and on
output indicates which file descriptors are ready to read."
The test program use ?FD_SET(fildes[1], &readfds);? to add
fildes[1] to readfds. But the file descriptor fildes[1]?s flag
is O_WRONLY|O_NONBLOCK. We thought we need to add a file
descriptor which have the read flag to readfds such as
fildes[0].Test Output 400|1796 7 1 09:08:20|IC Start
200|1796 7 09:08:20|TP Start
520|1796 7 00001256 1 1|PREP: Create fifo
520|1796 7 00001256 1 2|PREP: Open read end of fifo
520|1796 7 00001256 1 3|PREP: Open write end of fifo
520|1796 7 00001256 1 4|PREP: Fork child to provide data to fifo
520|1796 7 00001256 2 1|TEST: select blocks until event occurs
520|1796 7 00001257 1 1|PREP: Wait for parent to select
520|1796 7 00001257 1 2|PREP: Wait for our timeout period
520|1796 7 00001257 1 3|PREP: Write data for parent
520|1796 7 00001255 2 1|ERROR: Test took longer than 600 seconds:
presuming
520|1796 7 00001255 2 2| function is hung and terminating
test
220|1796 7 1 09:18:20|FAIL
410|1796 7 1 09:18:20|IC EndReview Information
Review Type TSMA Review Start Date 2012-04-24 12:05 Last Updated 2012-04-24 10:11 Completed 2012-04-24 10:11 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 2012-04-24 18:11 Last Updated 2012-04-24 16:01 Completed 2012-04-24 16:01 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion A test suite deficiency is granted
Problem Reporting System Options:
- View Report 2577
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority