fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 346
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved.
4 #
5 # FSQA Test No. 346
6 #
7 # Test races between mmap and normal writes from racing threads
8 #
9 . ./common/preamble
10 _begin_fstest auto quick rw
11
12 # get standard environment and checks
13
14 # real QA test starts here
15 _supported_fs generic
16 _require_scratch
17 _require_test_program "holetest"
18
19 _scratch_mkfs >>$seqres.full 2>&1
20 _scratch_mount
21
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
25
26 status=0
27 exit