[PATCH 2/2] btrfs/048: user filter for property error messages

David Sterba
2016-03-03T18:17:01Z

Signed-off-by: David Sterba <dsterba@suse.com>
---
tests/btrfs/048 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/btrfs/048 b/tests/btrfs/048
index c2cb4a63b095..4a36303632eb 100755
--- a/tests/btrfs/048
+++ b/tests/btrfs/048
@@ -41,6 +41,7 @@ _cleanup()
# get standard environment, filters and checks
. ./common/rc
. ./common/filter
+. ./common/filter.btrfs

# real QA test starts here
_supported_fs btrfs
@@ -70,7 +71,8 @@ $BTRFS_UTIL_PROG property set $SCRATCH_MNT label ''
$BTRFS_UTIL_PROG property get $SCRATCH_MNT label
echo "***"
mkdir $SCRATCH_MNT/testdir
-$BTRFS_UTIL_PROG property get $SCRATCH_MNT/testdir label
+$BTRFS_UTIL_PROG property get $SCRATCH_MNT/testdir label 2>&1 |
+ _filter_btrfs_prop_error label
echo "***"

echo -e "\nTesting subvolume ro property"
--
1.8.4.5