Thanks Subrata! I've written this patch since there is a a problem in many LTP test cases when running over a NFS mounted Filesystem. When you try to remove (unlink()) a file inside a NFS Filesystem, you can't have any file descriptor pointing to that file, since this file is locked by NFS, and you will get the following error:
chdir01 0 WARN : tst_rmdir(): rmobj(/tmp/chdTkVnaR) failed: unlink(/tmp/chdTkVnaR/Testdir.23591/.nfs00000000007a9735000144de) failed; errno=16: Device This patches fixes this problem for the following testcases: - chdir01 - creat01 - creat03 - creat05 - dup202 - dup203 - execve04 - flock01 - flock02 - flock03 - flock04 - flock05 - flock06 - fork07 - mprotect02 - mprotect03 - open04 - open05 - read04 - readv01 - readv02 - recvmsg01 - rmdir02 - write03 - write05 - writev01 - writev02 - writev03 - writev04 - writev05 - writev06 Thanks Breno Leitão On Mon, 2007-10-29 at 18:21 +0530, Subrata Modak wrote: > Hi, > > Please find attached a Patch from Breno for Fixing the unlink problem in > many test cases in LTP. > > --Subrata-- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
