2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2018, Oracle and/or its affiliates. All Rights Reserved.
7 # Ensure that xfsprogs crc32 works correctly via xfs_io crc32cselftest command.
10 seqres="$RESULT_DIR/$seq"
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
16 trap "_cleanup; exit \$status" 0 1 2 3 15
24 # get standard environment, filters and checks
28 # real QA test starts here
31 _require_xfs_io_command "crc32cselftest"
36 sed -e 's/bytes in [0-9]* usec/bytes in XXX usec/g'
39 $XFS_IO_PROG -c 'crc32cselftest' | filter_selftest
41 echo "Silence is golden."