From 8a51dad60a015e0b261e0f78428731b00b992ce9 Mon Sep 17 00:00:00 2001 From: Stefan Behrens Date: Fri, 23 Aug 2013 13:07:12 +0000 Subject: [PATCH] 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 --- common/filter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3