|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2552 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 2552.
Report 2552 Actions
Problem Report Number 2552 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1321 Raised 2011-02-24 10:44 Updated 2011-03-01 15:37 Published 2011-03-01 15:37 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSRT version 5.4.3 Test Identification POSIX_rte.os/procprim/posix_spawnp/T.posix_spawnp.49 Specification Base Definitions Issue 6 Location in Spec N/A Problem Summary POSIX_rte.os/procprim/posix_spawnp/T.posix_spawnp{49} fails Problem Text Line 6256 in posix_spawnp.c
for (i = num_open_file + 1; i < (max_open - 1); i++)
should be:
for (i = num_open_file; i < max_open; i++)
Without the changes leaves an extra fd and the test will fail.Test Output
************************************************************************
/tset/POSIX_rte.os/procprim/posix_spawnp/T.posix_spawnp 49
Failed
The Open Group Verification Suite
Test-Set Summary
Test Description:
If the symbol {_POSIX_SPAWN} is defined or the implementation
supports
the posix_spawnp(pid, file, file_actions, attrp, argv[], envp[])
function:
If {_POSIX_OPEN_MAX} <= {OPEN_MAX} <= {PCTS_OPEN_MAX}:
When file_actions contains an open action and {OPEN_MAX}
files
have already been opened, then posix_spawnp(pid, file,
file_actions, attrp, argv[], envp[]) returns EMFILE or
posix_spawnp(pid, file, file_actions, attrp, argv[], envp[])
returns zero and the child process exits with an exit status
of 127.
Otherwise:
{PCTS_OPEN_MAX} files can be opened.
Test Information:
posix_spawnp returned 0 err 9 EBADF and child return 0Review Information
Review Type TSMA Review Start Date 2011-02-24 10:44 Last Updated 2011-03-01 15:21 Completed 2011-03-01 15:21 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Review Type SA Review Start Date 2011-03-01 23:21 Last Updated 2011-03-01 15:36 Completed 2011-03-01 15:36 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion A test suite deficiency is granted.
Problem Reporting System Options:
- View Report 2552
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority