mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <sandeen@sandeen.net> Reviewed-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed-by: Christoph Hellwig <hch@infradead.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user