|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0268 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 0268.
Report 0268 Actions
Problem Report Number 0268 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0268 Raised 1997-10-22 08:00 Updated 2003-03-13 08:00 Published 1997-11-07 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.6 Test Identification POSIX.os/procenv/times 6 Problem Summary TSD4.268 We have previously submitted an error report to X/Open that was accepted. We believe that there is a fault in the test suite for T.times test #6. We think that a subtraction of one (1) should be done ... Problem Text
We have previously submitted an error report to X/Open that was accepted.
We believe that there is a fault in the test suite for T.times test #6. We
think that a subtraction of one (1) should be done within the 'if' statement
shown below for test #6. This would then allow for rounding.
>From the times.c test source:
-----------------------------
test5()
{
....
/* The "-1" is to allow for rounding, in case the system maintains
the times at higher precision than clock ticks */
if (buf.tms_cutime - starttime < child_time-1)
{
if(!testfail)
xx_rpt(FAILURE);
in_rpt("
When using waitpid() to wait for child process,");
in_rpt("observed cutime increase: %ld",
(long)(buf.tms_cutime - starttime));
in_rpt("observed child utime: %ld", (long) child_time);
testfail++;
}
else
PATH_TRACE;
....
--------------------------------------------------------------------
test6(){
.... if (buf.tms_cstime - starttime < child_time)
{
if(!testfail)
xx_rpt(FAILURE);
in_rpt("observed cstime increase: %ld",
(long)(buf.tms_cstime - starttime));
in_rpt("observed child stime: %ld", (long) child_time);
testfail++;
}
else
PATH_TRACE;Test Output
/tset/POSIX.os/procenv/times/T.times Test #6
============================================
Test Information:
observed cstime increase: 14
observed child stime: 15
observed cstime increase: 14
observed child stime: 15Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a test suite error and it is recommended that a
waiver is granted on these grounds.
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 0268
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority