]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests: update _filter_size() for Btrfs
authorStefan Behrens <sbehrens@giantdisaster.de>
Fri, 23 Aug 2013 13:07:12 +0000 (13:07 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 28 Aug 2013 14:41:30 +0000 (09:41 -0500)
The btrfs-progs tools changed the output:
- 100GiB instead of 100GB

xfstest btrfs/006 is one that failed due to this change.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Reviewed-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/filter

index dbb167428fac5f17a9bf717fb5d4402647d638d7..ee738ca8655b5f1605cf20e603dc973416038ecc 100644 (file)
@@ -262,7 +262,7 @@ _filter_uuid()
 # Filter out sizes like 6.14MB etc
 _filter_size()
 {
-       sed -e "s/[0-9\.]\+\s\?[b|k|m|g|t][b]\?/<SIZE>/ig"
+       sed -e "s/[0-9\.]\+\s\?[b|k|m|g|t][i]\?[b]\?/<SIZE>/ig"
 }
 
 # Convert string read from stdin like 128K to bytes and print it to stdout