xfs/007: fix regressions on V4 filesystems
[xfstests-dev.git] / tests / xfs / 494
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2018, Oracle and/or its affiliates.  All Rights Reserved.
4 #
5 # FS QA Test No. 494
6 #
7 # Ensure that xfsprogs crc32 works correctly via xfs_io crc32cselftest command.
8 #
9 . ./common/preamble
10 _begin_fstest auto quick
11
12 # Import common functions.
13 . ./common/filter
14
15 # real QA test starts here
16 _supported_fs xfs
17 _require_xfs_io_command "crc32cselftest"
18
19 rm -f "$seqres.full"
20
21 filter_selftest() {
22         sed -e 's/bytes in [0-9]* usec/bytes in XXX usec/g'
23 }
24
25 $XFS_IO_PROG -c 'crc32cselftest' | filter_selftest
26
27 echo "Silence is golden."
28 # success, all done
29 status=0
30 exit