|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1249 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 1249.
Report 1249 Actions
Problem Report Number 1249 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0451 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification Base/exit 4 Problem Summary PG4U.00014 The test may fail because of timing problems. Problem Text
Test 4: This test calls wait3() with option set to WEXITED.
This option is not listed as a valid option on the XOPEN wait3()
page nor the waitpid(wait) man page to which the reader is referred.
Therefore, we return EINVAL, which according to the man pages would
be correct.
After changing the wait3() to options=0, this test still fails due to
timing - the test uses sleep() on parent to wait for child to finish exit().
the child does exit() after parent wakes, parent misses it.
Using waitid(WEXITED|WNOWAIT) makes test work.Test Output
TEST CASE: exit
TEST PURPOSE #4
When the parent process of the calling process has set
its SA_NOCLDWAIT flag a call to void
exit(int status) shall discard status and end the
lifetime of the calling process immediately.
PREP: Set SA_NOCLDWAIT
PREP: Fork child
PREP: Wait for child to exit
PREP: Execute /bin/ps to get child's status
TEST: Lifetime of child has ended
ERROR: Life of child continues
PREP: Call exit
4 FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
The explanation given for the request does not match the journal
output. the failure occurs before the wait3() call is ever executed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1249
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority