On Wed, May 14, 2008 at 12:40:52PM -0500, George Kraft wrote: > There has been an offline discussion about using LTP to test read-only > bind mounts; however, the tests will likely "fail" and not give good > results. I would like to suggest that the LTP filesystem tests may need > to be enhanced to handle the read-only scenario. For example, if the > filesystem tests were run on a read-write filesystem, then they should > return "pass"; however, if they were run on a read-only filesystem, then > they should return "untested" because it could not write to the > filesystem. In POSIX testing an "untested" result is considered a pass. > > Pass: a test result belonging to this group is considered to be a pass > for compliance testing purposes: Pass, Warning, FIP, Unsupported, Not In > Use, Untested > > Fail: a test result belonging to this group is considered to be a fail > for compliance testing purposes (unless the failure has been waived by > an agreed Problem Report in the Certification Problem Reporting > database): Fail, Uninitiated, Unresolved, Unreported > > If one wants to stick with LTP's return codes, then we should use TWARN > found in /opt/ltp/include/test.h instead of UNTESTED. > > Does anyone have an objection to making LTP's filesystem tests robust > enough to handle the read-only bind mount scenario?
This is really good idea. I think we need to check first how many existing testcases are going to pass on a read only filesystem. If the number is too low then there is no point to enhance the existing testcases for ro bind until and unless we add new ro bind mount testcases ? I think simultaneously we should also discuss how many new testcases for ro bind mount we can add. > > -- > George (gk4) Thanks Sudhir ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
