xfstests: fix 130, 132 for inifinitely-fast disks
authorEric Sandeen <sandeen@redhat.com>
Fri, 24 Apr 2009 18:57:55 +0000 (13:57 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 24 Apr 2009 18:57:55 +0000 (13:57 -0500)
Due to the new quantum/holographic storage I'm testing, my
disks go infinitely fast, thereby breaking some filters:

-XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+3 KiB, 1 ops; 0.0000 sec (inf EiB/sec and inf ops/sec)

I'm no regexp expert but I think the below change will fix it.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
130
132

diff --git a/130 b/130
index f287d2030788449f7314b5d70608fb184496ecd9..b0bbe73344ced09c0387c4e4ff3172945a5dbd32 100755 (executable)
--- a/130
+++ b/130
@@ -51,7 +51,7 @@ common_line_filter()
 
 _filter_xfs_io()
 {
-    common_line_filter | sed -e "s/[0-9/.]* [GMKiBbytes]*, [0-9]* ops\; [0-9/:. sec]* ([0-9/.]* [GMKiBbytes]*\/sec and [0-9/.]* ops\/sec)/XXX Bytes, X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/"
+    common_line_filter | sed -e "s/[0-9/.]* [GMKiBbytes]*, [0-9]* ops\; [0-9/:. sec]* ([inf0-9/.]* [EPGMKiBbytes]*\/sec and [inf0-9/.]* ops\/sec)/XXX Bytes, X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/"
 }
 
 # real QA test starts here
diff --git a/132 b/132
index df3d3d3f7678759b4b3568bdc02f4c0a7c664f87..f37325635b33970ff68a71c887dee3e1d41ba23e 100755 (executable)
--- a/132
+++ b/132
@@ -43,7 +43,7 @@ common_line_filter()
 
 _filter_xfs_io()
 {
-    common_line_filter | sed -e "s/[0-9/.]* [GMKiBbytes]*, [0-9]* ops\; [0-9/:. sec]* ([0-9/.]* [GMKiBbytes]*\/sec and [0-9/.]* ops\/sec)/XXX Bytes, X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/"
+    common_line_filter | sed -e "s/[0-9/.]* [GMKiBbytes]*, [0-9]* ops\; [0-9/:. sec]* ([inf0-9/.]* [EPGMKiBbytes]*\/sec and [inf0-9/.]* ops\/sec)/XXX Bytes, X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/"
 }
 
 # real QA test starts here