GNU bug report logs - #7389
rename() over NFS

Previous Next

Package: coreutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Sat, 13 Nov 2010 11:55:02 UTC

Severity: normal

Tags: patch

Merged with 7394

Full log


Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Bruno Haible <bruno <at> clisp.org>
Cc: bug-coreutils <at> gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>, bug-gnulib <at> gnu.org,
	Jim Meyering <jim <at> meyering.net>
Subject: Re: rename() over NFS
Date: Sat, 13 Nov 2010 14:26:15 -0700
[Message part 1 (text/plain, inline)]
On 11/13/2010 07:13 AM, Bruno Haible wrote:
> So, assuming Eric also agrees with approach (a), here's a proposal for
> fixing the testsuite:
> 
> 
> 2010-11-13  Bruno Haible  <bruno <at> clisp.org>
> 
> 	rename, renameat: Avoid test failures at NFS mounted locations.
> 	* tests/test-rename.h (dentry_exists, assert_nonexistent): New
> 	functions.
> 	(test_rename): Use assert_nonexistent.
> 	* tests/test-rename.c: Include <dirent.h>.
> 	* tests/test-renameat.c: Likewise.
> 	Reported by Gary V. Vaughan <gary <at> gnu.org>.

For now, I'm okay with weakening the testsuite to ignore the NFS bug;
please apply this patch, but let's also document the bug.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 12 years and 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.