|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1475 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 1475.
Report 1475 Actions
Problem Report Number 1475 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0757 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-11-01 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 Base/nftw 3 Problem Summary TSD4U.00056 This test may fail on all implementations. Problem Text
This test may fail on all implementations.
This test is expecting that 13 files will be reported when there
are only 12 unique files to report.
The test expects to visit ../tmp/data/dir_right.1/dir_right.2/right.3
but that file is a link to "../dir_right.2". Since FTW_PHYS is
not set, the link is followed, BUT the "dir_right.2" directory
has already been visited. It can't be visited twice.
So nothing should be reported for the file "right.3".Test Output
TEST CASE: nftw
TEST PURPOSE #3
A call to int nftw(const char *path, int (*fn)(const
char *, const struct stat *, int, struct FTW *), int
depth, int flags) when flags does not contain FTW_PHYS
shall follow links instead of reporting them and shall
not report the same file twice.
PREP: Set up the path
TEST: nftw without FTW_PHYS follows symbolic links
INFO: Call to fn() at ../tmp/data/dirl
INFO: Call to fn() at ../tmp/data/dirl/dir_left.1
INFO: Call to fn() at ../tmp/data/dirl/dir_left.1/dir_left.2
INFO: Call to fn() at ../tmp/data/dirl/dir_left.1/dir_left.2/left.3
INFO: Call to fn() at ../tmp/data/dirl/dir_left.1/dir_left.2/left.3/dir_left.1
INFO: Call to fn() at ../tmp/data/dirl/dir_left.1/dir_left.2/left.3/dir_left.1/dir_left.2
INFO: Call to fn() at ../tmp/data/dirl/dir_left.1/dir_left.2/left.3/dir_left.1/dir_left.2/left.3
INFO: Call to fn() at ../tmp/data/dirl/dir_left.1/dir_left.2/left.3/dir_right.1
INFO: Call to fn() at ../tmp/data/dirl/dir_left.1/dir_left.2/left.3/dir_right.1/dir_right.2
INFO: Call to fn() at ../tmp/data/dirl/dir_left.1/dir_left.2/left.3/dir_right.1/dir_right.2/right.3
INFO: Call to fn() at ../tmp/data/dirl/dir_right.1
INFO: Call to fn() at ../tmp/data/dirl/dir_right.1/dir_right.2
ERROR: Expected 13 files to be visited. nftw() visited 12
3 FAILReview 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 1475
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority