2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2010 Red Hat. All Rights Reserved.
7 # Test XFS_IOC_ZERO_RANGE
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
22 trap "_cleanup ; exit \$status" 0 1 2 3 15
24 # get standard environment, filters and checks
29 # real QA test starts here
33 _require_xfs_io_command "falloc"
34 _require_xfs_io_command "zero"
36 testfile=$TEST_DIR/242.$$
38 _test_generic_punch resvsp unresvsp zero 'bmap -p' _filter_bmap $testfile