|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1443 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 1443.
Report 1443 Actions
Problem Report Number 1443 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0725 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-12-11 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification CAPIbase/nftw 24 Problem Summary TSD4U.00090 The test does not properly test the number of fds used by ftw(). Problem Text
Note: Please refer to PG4U.00033.
Please refer to X/Open Interpretation #1170/155.
The original request number is req.4.U.00091.
This waiver has been refused, however, in light of X/Open
Interpretation 1170/155 we request that it now be granted.
TEST CASE: ftw
TEST PURPOSE #1
A call to int ftw(const char *path, int (*fn)(const
char *, const struct stat *ptr, int flag), int ndirs)
shall use at most one file descriptor for each level
in the file tree.
PREP: Determine which file descriptors should be used
TEST: No more than 1 file descriptor used per directory
ERROR: Too many file descriptors used
1 FAIL
also
TEST CASE: nftw
TEST PURPOSE #24
A call to int nftw(const char *path, int (*fn)(const
char *, const struct stat *, int, struct FTW *), int
depth, int flags) shall use at most one file
descriptor for each directory level.
PREP: Create path
TEST: No more than 1 file descriptor is used in traversal
INFO: Call to fn() at ../tmp/data/dirh
INFO: Call to fn() at ../tmp/data/dirh/dir_left.1
INFO: Call to fn() at ../tmp/data/dirh/dir_left.1/dir_left.2
ERROR: expected no more than 3 fds to be used, 4 used
Both of these tests that the allocation of file descripters are sequential
numbers. The lowest file descriptor is allocated but since a number may have
been skipped the method used by the test suite to determine the number of
file descriptors used is inaccurate. The specification does not require that
these interfaces compensate for file descripters that may have been used by
the operating system on the behalf of the process.Test Output
Review 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 1443
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority