FS/XFS testing framework
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: fstests@vger.kernel.org
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: [PATCH] fstests: update _filter_btrfs_version
Date: Tue, 24 Mar 2015 16:38:20 -0500	[thread overview]
Message-ID: <5511D94C.9090109@redhat.com> (raw)

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()


             reply	other threads:[~2015-03-24 21:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 21:38 Eric Sandeen [this message]
2015-03-25  3:14 ` [PATCH] fstests: update _filter_btrfs_version Eryu Guan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5511D94C.9090109@redhat.com \
    --to=sandeen@redhat.com \
    --cc=fstests@vger.kernel.org \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox