[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rename() over NFS
From: |
Eric Blake |
Subject: |
Re: rename() over NFS |
Date: |
Sat, 13 Nov 2010 14:26:15 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6 |
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 <address@hidden>
>
> 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 <address@hidden>.
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 address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature