|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2328 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 2328.
Report 2328 Actions
Problem Report Number 2328 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1207 Raised 2004-02-03 23:24 Updated 2004-03-02 16:49 Published 2004-03-02 16:49 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSRTE version 1.1.3 Test Identification POSIX_rte.os/procprim/exec tests 1-6 Specification Base Definitions Issue 6 Location in Spec none Problem Summary Tests need to account for speed of system Problem Text These tests do the following:
errno = 0;
rval = clock_gettime((clockid_t)CLOCK_PROCESS_CPUTIME_ID, &ptb)k
.
.
.
execl(execpath("exec1"), "exec1", "1", ptb_data, ptb_ndata, (char
*)0);
then in exec1: execl_check
rval = clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ntb);
but on most systems, the exec*() happen so fast that nearly zero cpu time
is used. A call to clock_settime() with tv_sec incremented by a large
amount, say 30 should be to verify the cput time clock is inherited.
And the comparsions should be changed
if (ntb.tv_nsec <= ptb.tv_nsec)
to
if (ntb.tv_nsec < ptb.tv_nsec)
else if (ntb.tv_sec <= ptb.tv_sec)
to
else if (ntb.tv_sec < ptb.tv_sec)
In addition the following error messages are outputted during tcc -e
execution:
<unknown>: (child.c, 166) argument count wrong; process must be executed
by tet_
exec() or tet_spawn()
<unknown>: (child.c, 166) argument count wrong; process must be executed
by tet_
exec() or tet_spawn()
<unknown>: (child.c, 166) argument count wrong; process must be executed
by tet_
exec() or tet_spawn()
<unknown>: (child.c, 166) argument count wrong; process must be executed
by tet_
exec() or tet_spawn()
<unknown>: (child.c, 166) argument count wrong; process must be executed
by tet_
exec() or tet_spawn()
<unknown>: (child.c, 166) argument count wrong; process must be executed
by tet_
exec() or tet_spawn()
I would guess the same problems exist for the remaining tests for
POSIX_THREAD_CPUTIME.Test Output
************************************************************************
/tset/POSIX_rte.os/procprim/exec/T.exec 1 Unresolved
Test Description:
If the symbol {_POSIX_CPUTIME} is defined:
The new process image created by execl() inherits
the CPU-time clock from the calling process image.
Error: requested file not found in archive
/tsuites/VSRTE/vsrte/MAN/tset/POSIX_rte.os/procprim/exec/L.exec_
t
Test Information:
Child process exit with error
************************************************************************Review Information
Review Type TSMA Review Start Date 2004-02-03 23:24 Last Updated 2004-02-09 20:41 Completed 2004-02-09 20:41 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a Test Suite Defiency and it is recommended that a
waiver is granted.
Review Type SA Review Start Date 2004-02-09 20:41 Last Updated 2004-02-09 22:47 Completed 2004-02-09 22:47 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion This is an agreed test suite deficiency.
Problem Reporting System Options:
- View Report 2328
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority