2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved.
7 # Test races between mmap and normal writes from racing threads
10 _begin_fstest auto quick rw
12 # get standard environment and checks
14 # real QA test starts here
17 _require_test_program "holetest"
19 _scratch_mkfs >>$seqres.full 2>&1
22 $here/src/holetest -f -w $SCRATCH_MNT/testfile 1
23 $here/src/holetest -f -w $SCRATCH_MNT/testfile 16
24 $here/src/holetest -f -w $SCRATCH_MNT/testfile 256