fstests: update _filter_btrfs_version
PATCH 1/1 fstests: update _filter_btrfs_version
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 <[email protected]>
---
common/filter.btrfs +1 -1
@@ -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()
Quoted 6 lines · Eric Sandeen
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 <[email protected]>
Looks good to me.
Reviewed-by Eryu Guan <[email protected]>
Quoted 20 lines
---
common/filter.btrfs +1
-2@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html