From: Stefan Behrens Date: Fri, 23 Aug 2013 13:07:12 +0000 (+0000) Subject: xfstests: update _filter_size() for Btrfs X-Git-Tag: v2022.05.01~3374 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8a51dad60a015e0b261e0f78428731b00b992ce9;p=xfstests-dev.git xfstests: update _filter_size() for Btrfs 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 Reviewed-by: Josef Bacik Signed-off-by: Rich Johnston --- diff --git a/common/filter b/common/filter index dbb16742..ee738ca8 100644 --- a/common/filter +++ b/common/filter @@ -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]\?//ig" + sed -e "s/[0-9\.]\+\s\?[b|k|m|g|t][i]\?[b]\?//ig" } # Convert string read from stdin like 128K to bytes and print it to stdout