2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2010 Red Hat. All Rights Reserved.
7 # Test XFS_IOC_ZERO_RANGE
10 _begin_fstest auto quick prealloc zero
12 # Import common functions.
16 # real QA test starts here
20 _require_xfs_io_command "falloc"
21 _require_xfs_io_command "zero"
23 testfile=$TEST_DIR/242.$$
25 _test_generic_punch resvsp unresvsp zero 'bmap -p' _filter_bmap $testfile