Subject: bug#7389: rename() over NFS

From: Eric Blake <[email-masked]>
Date: Sat, 13 Nov 2010 14:26:15 -0700

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  <[email-masked]>
> 
> 	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 <[email-masked]>.

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   [email-masked]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org