On Wed, 2010-05-12 at 15:14 +0200, Nicolas Joly wrote: > Hi, > > The attached patch tries to cleanup the `mandatory locking' check in > the ftruncate04.c testcase. > > The currently test is made with system(2) and involve calling some > external tools ... to determine if the underlying filesystem has > `mand' option set. The same result can be easily retrieved with a > simple statvfs(2) call and examining the mount flags value. > > This has been successfully tested on a RHEL5 x86_64 machine. > > Signed-off-by: Nicolas Joly <[email protected]>
Thanks. This does not introduce any regression. Will wait for others comments as well. Regards-- Subrata > > Regards. > > ------------------------------------------------------------------------------ > > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
