[PATCH] xfstests: filter out latest xfsdump version messages

Eric Sandeen sandeen at redhat.com
Mon Jun 18 11:48:37 CDT 2012


On 6/18/12 11:32 AM, Brian Foster wrote:
> On 06/18/2012 12:18 PM, Eric Sandeen wrote:
>> On 6/18/12 10:56 AM, Brian Foster wrote:
>>> The latest version of xfsdump/restore (3.1.0) causes dump tests
>>> to complain. Fix up the filter to include a wider selection of
>>> version numbers.
>>
>> Looks good to me, thanks - I'll merge it, but I think I'll
>> add a "^version" to it to make it a little more selective,
>> if that's ok with you.
>>
> 
> Fine by me, thanks.

actually that's wrong, because it puts executable name at the beginning!
Sorry.  I'll merge it as is, thanks.

-Eric

> Brian
> 
>> Reviewed-by: Eric Sandeen <sandeen at redhat.com>
>>
>>> Signed-off-by: Brian Foster <bfoster at redhat.com>
>>> ---
>>>  common.dump |    2 +-
>>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/common.dump b/common.dump
>>> index ca09ec1..61d3f43 100644
>>> --- a/common.dump
>>> +++ b/common.dump
>>> @@ -863,7 +863,7 @@ _dump_filter_main()
>>>        -e 's/1048576/BLOCKSZ/'				\
>>>        -e 's/2097152/BLOCKSZ/'				\
>>>        -e 's/(pid[	 ]*[1-9][0-9]*)/\(pid PID\)/'	\
>>> -      -e '/version 3\.0/d'				\
>>> +      -e '/version [3-9]\.[0-9]/d'				\
>>>        -e 's/\/hw\/module.*$/SCRATCH_DEV/'		\
>>>        -e 's/xfsdump: ino map phase 1: .*/xfsdump: ino map <PHASES>/' \
>>>        -e '/xfsdump: ino map phase [2]/,1d'		\
>>
> 



More information about the xfs mailing list