* [PATCH] fstests: update _filter_btrfs_version
@ 2015-03-24 21:38 Eric Sandeen
2015-03-25 3:14 ` Eryu Guan
0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2015-03-24 21:38 UTC (permalink / raw)
To: fstests; +Cc: linux-btrfs
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@redhat.com>
---
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()
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fstests: update _filter_btrfs_version
2015-03-24 21:38 [PATCH] fstests: update _filter_btrfs_version Eric Sandeen
@ 2015-03-25 3:14 ` Eryu Guan
0 siblings, 0 replies; 2+ messages in thread
From: Eryu Guan @ 2015-03-25 3:14 UTC (permalink / raw)
To: Eric Sandeen; +Cc: fstests, linux-btrfs
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@redhat.com>
Looks good to me.
Reviewed-by: Eryu Guan <eguan@redhat.com>
> ---
>
> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-25 3:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-24 21:38 [PATCH] fstests: update _filter_btrfs_version Eric Sandeen
2015-03-25 3:14 ` Eryu Guan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).