|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1376 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 1376.
Report 1376 Actions
Problem Report Number 1376 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0658 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-09-20 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.0 Test Identification base/wait3 1 Problem Summary TSD4U.00159 This test may fail on implementations with high clock speeds and fast execution times. Problem Text
This test may fail on high performance machine.
This test executes the 'for' loop to consume user CPU time
of the child process.
If the user time used by this child process
is less than the resolution of CPU time accounting ( clock tick ),
the ru_utime of child's resource usage becomes 0 and this test fails.Test Output
10|4 /tset/CAPIbase/fwait3/fwait31 01:52:01|TC Start, scenario ref 4-1, ICs {1}
15|4 1.10 1|TCM Start
400|4 1 1 01:52:01|IC Start
200|4 1 01:52:01|TP Start
520|4 1 11768 1 1|SPEC1170TESTSUITE CASE 1
520|4 1 11768 1 2|A successful call to pid_t wait3(int *stat_loc, int
520|4 1 11768 1 3|options, struct rusage *resource_usage) when a child
520|4 1 11768 1 4|process has not changed state prior to the call shall
520|4 1 11768 1 5|suspend the calling process until a child changes
520|4 1 11768 1 6|state, place the child's resource usage in the
520|4 1 11768 1 7|structure pointed to by resource_usage, and return the
520|4 1 11768 1 8|process id of the child process.
520|4 1 11769 1 1|PREP: fork() a child that eats up some cpu time
520|4 1 11769 2 1|TEST: wait3
520|4 1 11769 2 2|TEST: Calling process waited for child to change state
520|4 1 11769 2 3|TEST: Rusage stats returned
520|4 1 11769 2 4|ERROR: Rusage stats not returned. ru_utime.tv_sec = 0
520|4 1 11769 2 5|TEST: wait3() returned process id of child
220|4 1 1 01:52:05|FAIL
410|4 1 1 01:52:05|IC End
80|4 0 01:52:05|TC EndReview 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 1376
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority