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. Signed-off-by Michael Kerrisk <mtk.manpages@googlemail.com>. Signed-off-by: Subrata Modak <subrata@linux.vnet.ibm.com>.
 CVS: ----------------------------------------------------------------------
diff --git a/runtest/syscalls b/runtest/syscalls
index 3723b95..9043307 100644
--- a/runtest/syscalls
+++ b/runtest/syscalls
@@ -977,6 +977,9 @@
 utime05 utime05
 utime06 utime06
 
+# Introduced from Kernel 2.6.22 onwards
+utimensat01 utimensat_tests.sh
+
 vfork01 vfork01
 vfork02 vfork02