Skip to contentSkip to conversation

xfstests: filter out latest xfsdump version messages

PATCH In review Brian Foster 2 participants 4 messages Jun 18, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests: filter out latest xfsdump version messages

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.

---
 common.dump |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
common.dump +1 -1
index ca09ec1..61d3f43 100644
@@ -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'		\
Signature · 6 lines
1.7.7.6

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Brian Foster

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.

Quoted 10 lines
---
 common.dump |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
common.dump +0 -0
index ca09ec1..61d3f43 100644

common.dump _dump_filter_main() · line 869

Quoted 8 lines
common.dump +1 -1
@@ -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'		\

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 9 lines · Eric Sandeen
Quoted 3 lines · Brian Foster

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.

Brian

Quoted 7 lines
Quoted 5 lines
---
 common.dump |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 14 lines

common.dump _dump_filter_main() · line 869

Quoted 13 lines
common.dump +1 -1
index ca09ec1..61d3f43 100644
@@ -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'		\

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw
Quoted 6 lines · Brian Foster
Quoted 5 lines · Eric Sandeen
Quoted 3 lines · Brian Foster

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.

Quoted 6 lines
Quoted 4 lines

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

Quoted 24 lines

Brian

Quoted 21 lines
Quoted 18 lines
---
 common.dump |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
common.dump +1 -1
index ca09ec1..61d3f43 100644
@@ -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'		\

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs