Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ROs53-0007JQ-2M for ltp-list@lists.sourceforge.net; Fri, 11 Nov 2011 14:27:45 +0000 Date: Fri, 11 Nov 2011 15:33:50 +0100 From: Cyril Hrubis Message-ID: <20111111143350.GB13045@saboteur.suse.cz> References: <1320987154-28844-1-git-send-email-eguan@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1320987154-28844-1-git-send-email-eguan@redhat.com> Subject: Re: [LTP] [PATCH] syscall/dup03: Close all open files in cleanup List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Eryu Guan Cc: ltp-list@lists.sourceforge.net Hi! > The 'silly rename' mechanism of NFS creates temporary file .nfsXXX in > NFS mount. The cleanup() in dup03.c doesn't close all open files and > leaves .nfsXXX file in the testing directory. Then rmdir(2) complains > about "Directory not empty". Comited, thanks. -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list