From 90395f8d7c28ce585fe3a3794d4c55be4270cbab Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 24 Apr 2009 13:57:55 -0500 Subject: [PATCH] xfstests: fix 130, 132 for inifinitely-fast disks 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 Reviewed-by: Josef 'Jeff' Sipek Reviewed-by: Christoph Hellwig --- 130 | 2 +- 132 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/130 b/130 index f287d203..b0bbe733 100755 --- 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 df3d3d3f..f3732563 100755 --- 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 -- 2.39.5