xfs
[Top] [All Lists]

Re: [patch] xfsqa - 166 - fix filter for stripe aligned filesystems

To: Niv Sardi <xaiki@xxxxxxxxxxxxx>
Subject: Re: [patch] xfsqa - 166 - fix filter for stripe aligned filesystems
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sun, 13 Apr 2008 22:20:02 -0500
Cc: David Chinner <dgc@xxxxxxx>, xfs-dev <xfs-dev@xxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <nccprstf7yg.fsf@sgi.com>
References: <20080411033628.GN103491721@sgi.com> <nccprstf7yg.fsf@sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)
Niv Sardi wrote:
> Looks good, one minor comment.
> 
> David Chinner <dgc@xxxxxxx> writes:
> 
>> Flags has extra bits set in it xfs_bmap output when
>> the filesyste is using stripe alignment. Fix the test
>> to only look at the unwritten flag. Capture the xfs_bmap
>> output as well so failures can be debugged easily.
>>
>> Signed-off-by: Dave Chinner <dgc@xxxxxxx>
>> ---
>>  xfstests/166 |   17 ++++++++++-------
>>  1 file changed, 10 insertions(+), 7 deletions(-)
>>
>> Index: xfs-cmds/xfstests/166
>> ===================================================================
>> --- xfs-cmds.orig/xfstests/166       2008-03-25 15:29:35.000000000 +1100
>> +++ xfs-cmds/xfstests/166    2008-04-11 13:33:31.220068950 +1000
>> @@ -17,6 +17,7 @@ here=`pwd`
>>  tmp=/tmp/$$
>>  status=1    # failure is the default!
>>  trap "_cleanup; exit \$status" 0 1 2 3 15
>> +rm $seq.full
> 
> rm -f ? so that it doesn't complain when file is not there ?

All other tests do use rm -f here, it seems.

-Eric


<Prev in Thread] Current Thread [Next in Thread>