Message ID | 1377263233-8903-3-git-send-email-sbehrens@giantdisaster.de (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Fri, Aug 23, 2013 at 03:07:12PM +0200, Stefan Behrens wrote: > From: root <root@qvarne.iata> > > 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> Thank you for this, it was super annoying with the new btrfs-progs breaking this. Reviewed-by: Josef Bacik <jbacik@fusionio.com> Thanks, Josef -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks for the patch Stefan, it has been committed. --Rich commit 8a51dad60a015e0b261e0f78428731b00b992ce9 Author: Stefan Behrens <sbehrens@giantdisaster.de> Date: Fri Aug 23 13:07:12 2013 +0000 xfstests: update _filter_size() for Btrfs -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/common/filter b/common/filter index dbb1674..ee738ca 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]\?/<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