xfstests: handle xfs_quota output w/ long devicenames
authorEric Sandeen <sandeen@redhat.com>
Sun, 6 Oct 2013 22:46:19 +0000 (22:46 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 16 Oct 2013 20:19:35 +0000 (15:19 -0500)
commitcd7eb340dd2eded93f41bc096954017e2f9fa58d
tree1f668878bd1695d7af0550b9b3d7505652c7d2f5
parentfc671750a54c82e9b8db1b03e3102be994613252
xfstests: handle xfs_quota output w/ long devicenames

Long device names may be split onto their own line
on quota output:

Filesystem   Blocks  Quota  Limit Warn/Time    Mounted on
/dev/mapper/my-very-very-very-long-devicename
                48M      0      0  00 [------] /mnt/scratch

which breaks tests that capture quota output - currently,
only xfs/108.

Add a _filter_quota() which fixes this.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/filter
tests/xfs/108