|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1342 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 1342.
Report 1342 Actions
Problem Report Number 1342 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0624 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1997-07-03 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.1 Test Identification base/vfork 9 Problem Summary TSD4U.00193 This test may fail on slow implementations where the vfork() takes longer than 1 clock tick. Problem Text
This test fails on our slower machines because the time for process creation
is more than one clock tick.
/*allow a little slack*/
if (c_buffer.tms_utime > 1) {
_exit(99);
}
On my machine c_buffer.tms_utime is 3 and so the test fails.
The purpose of the test is to assure that the child's tms_utime
is set to zero and not inherited from the parent. Therefore the following
code should be appropriate:
if (c_buffer.tms_utime >= p_buffer.tms_utime) {
_exit(99);
}
Test Output
520|1 9 785 1 1|SPEC1170TESTSUITE CASE 9
520|1 9 785 1 2|A successful call to pid_t vfork(void) shall set the
520|1 9 785 1 3|child process' tms_utime to 0.
520|1 9 788 1 1|PREP: Eat up some time in the parent process
520|1 9 788 1 2|TEST: Child process tms_utime is set to zero
520|1 9 788 1 3|ERROR: Child's tms_utime values were not zero
220|1 9 1 16:31:46|FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 1342
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority