On Thu, 2008-06-05 at 11:54 -0700, Garrett Cooper wrote: > On Thu, Jun 5, 2008 at 5:12 AM, Subrata Modak > <[EMAIL PROTECTED]> wrote: > Hi, > > utimensat() syscall was introduced from linux-2.6.22 onwards. > Michael > wrote the initial testcases, and, the same is being > contributed to LTP > under GPLv2. I worked out a patch for this. > > Though this is not using LTP specific libraries at the moment. > But the > tests run well and tests 99 separate variations. Michael has > written it > through itÅ› length and breadth. > > I generated the code coverage (9.2%) over 2.6.25-gcov kernel, > which > however was not built with <make allmodconfig> option. Please > see it > attached along with a draft man page of utimensat(), created > by Michael. > > Let us know how do you feel about this test. We can then go > ahead and > add this to LTP. > > Regards-- > Subrata > > Subrata, > Is there some way to possibly regulate which tests will be > build / run for a given kernel? I ask this because some groups may use > LTP but not as bleeding edge kernels like 2.6.22, and hence the > build / run tests will fail.
Garrett, We have such provisions to either stop building, or, not running the test code, but display appropriate messages. You can see some following samples: http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/syscalls/fallocate/ http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/syscalls/remap_file_pages/ http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/containers/Makefile, Regards-- Subrata > Maybe this is more work for my Makefile activities... > -Garrett ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
