mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <sbehrens@giantdisaster.de> Reviewed-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
53b73199db
commit
8a51dad60a
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user