xfs/005: filter _scratch_mount output to match golden image
authorEryu Guan <eguan@redhat.com>
Tue, 27 May 2014 02:07:17 +0000 (12:07 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 27 May 2014 02:07:17 +0000 (12:07 +1000)
commitcaca5818a921e30df4cd3d78e2004721c8684279
tree7c3c70ab3fb2b15fa240960d93270ffece806940
parent82afae27d6c49b3caa6e690177b0e14bb1cd7ee7
xfs/005: filter _scratch_mount output to match golden image

Failure message of mount has been changed since util-linux v2.21, to
something like:

mount: mount /dev/sda5 on /mnt/scratch failed: Structure needs cleaning

Filter the output to match the golden image for newer mount binary so
that both old and new version of mount work correctly.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/xfs/005