blob: cf88fa47be7163413fbf2edcf8c3eb04693bada6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2010 Red Hat. All Rights Reserved.
#
# FS QA Test No. 242
#
# Test XFS_IOC_ZERO_RANGE
#
. ./common/preamble
_begin_fstest auto quick prealloc zero
# Import common functions.
. ./common/filter
. ./common/punch
# real QA test starts here
_supported_fs xfs
_require_test
_require_xfs_io_command "falloc"
_require_xfs_io_command "zero"
testfile=$TEST_DIR/242.$$
_test_generic_punch resvsp unresvsp zero 'bmap -p' _filter_bmap $testfile
status=0 ; exit
|