Problem Report Number | 0018 (TSD.0011) |
---|---|
Submitter's Classification | Test Suite Problem (TSD) |
State | Resolved |
Resolution | Test Suite Deficiency (TSD) |
Raised | 2003-02-27 17:33 |
Updated | 2003-03-07 10:28 |
Published | 2003-03-07 10:28 |
Certification Program | Linux Standard Base Conformance Release 1.3 |
Test Suite | lsb-runtime IA32 version 1.3.3-1 |
Test Identification | /tset/LSB.os/genuts/nftw/T.nftw.8 |
Problem Summary | /tset/LSB.os/genuts/nftw/T.nftw.8 assertion invalid |
Problem Text | /tset/LSB.os/genuts/nftw/T.nftw.8 assumes that the "depth" parameter will prevent it from decending into the bottom layer of the test directery hierarchy. This is not a valid assertion for testing the proper operation of the "depth" parameter. The "depth" parameter is just the maximum number of file descriptors that may be used by nftw(). If an implementation is able to walk the whole tree while staying within the fd restriction, it may call the callback function more times than this assertion allows. The error message is also incorrect, regardless of the assertion bug. |
Test Output | 200|656 8 01:49:24|TP Start 520|656 8 00027011 1 1|expected nftw(..., FTW_CHDIR) to call the reporting function 7 times, observed 7 calls 220|656 8 2 01:49:24|UNRESOLVED 410|656 8 1 01:49:24|IC End |
Review Type | TSMA Review |
---|---|
Start Date | 2003-02-27 17:33 |
Last Updated | 2003-03-03 14:12 |
Completed | 2003-03-03 14:12 |
Status | Complete |
Review Recommendation | Test Suite Deficiency (TSD) |
Review Response | We recommend a test suite deficiency be granted. Note that we agree there is a problem with the test code, but don't agree with submitters reasoning that the assertion is invalid. The assertion is about FTW_CHDIR, not about depth. The "if (t8_repcount != T8_NMR_OFILES)" check is there to make sure the callback function was called by nftw(), and therefore the checks it performs were carried out. If is called more times, that's fine, so we will change it to "if (t8_repcount < T8_NMR_OFILES)" in a future release. We will also fix up the error path and the path check. |
Review Type | SA Review |
---|---|
Start Date | 2003-03-03 14:12 |
Last Updated | 2003-03-06 20:01 |
Completed | 2003-03-06 20:01 |
Status | Complete |
Review Resolution | Test Suite Deficiency (TSD) |
Review Conclusion | SA concurs with TSD |
Copyright 2005, The Free Standards Group, All Rights Reserved