Re: [PATCH] fstests: update _filter_btrfs_version

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Tue, Mar 24, 2015 at 04:38:20PM -0500, Eric Sandeen wrote:
> The btrfs cmd now sometimes emits "btrfs-progs" not "Btrfs-progs"
> as it used to, so update the filter accordingly.
> 
> (This fixes a failure on btrfs/006 w/ btrfs-progs v3.19)
> 
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>

Looks good to me.

Reviewed-by: Eryu Guan <eguan@xxxxxxxxxx>

> ---
> 
> diff --git a/common/filter.btrfs b/common/filter.btrfs
> index c9b3f3a..ea047c5 100644
> --- a/common/filter.btrfs
> +++ b/common/filter.btrfs
> @@ -5,7 +5,7 @@
>  # Some, but not all, commands emit "Btrfs <version>"
>  _filter_btrfs_version()
>  {
> -	sed -e "s/^Btrfs.*//g"
> +	sed -e "s/^[Bb]trfs.*//g"
>  }
>  
>  _filter_devid()
> 
> --
> To unsubscribe from this list: send the line "unsubscribe fstests" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux