Hi !

This patch fix the following NFS warning:

*** ioctl01 -D /dev/tty0 ***
ioctl01     1  PASS  :  expected failure - errno = 9 : Bad file descriptor
ioctl01     2  PASS  :  expected failure - errno = 14 : Bad address
ioctl01     3  PASS  :  expected failure - errno = 22 : Invalid argument
ioctl01     4  PASS  :  expected failure - errno = 25 : Inappropriate ioctl 
for device
ioctl01     5  PASS  :  expected failure - errno = 14 : Bad address
ioctl01     0  WARN  :  tst_rmdir(): rmobj(/tmp/iocfNl8Bi) failed: 
remove(/tmp/iocfNl8Bi) failed; errno=39: Directory not empty

Regards.

R.

-- 
Renaud Lottiaux

Kerlabs
Bâtiment Germanium
80, avenue des buttes de Coësmes
35700 Rennes - France
Phone : (+33|0)6 80 89 19 34
Fax   : (+33|0)2 99 84 71 71
Email : [EMAIL PROTECTED]
Web   : http://www.kerlabs.com/
Index: ltp/testcases/kernel/syscalls/ioctl/ioctl01.c
===================================================================
--- ltp.orig/testcases/kernel/syscalls/ioctl/ioctl01.c	2008-02-28 11:03:10.000000000 +0000
+++ ltp/testcases/kernel/syscalls/ioctl/ioctl01.c	2008-02-28 11:03:24.000000000 +0000
@@ -212,6 +212,8 @@
 	 */
 	TEST_CLEANUP;
 
+	close(fd1);
+
 	/* delete the test directory created in setup() */
 	tst_rmdir();
 

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
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

Reply via email to