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 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
16 trap "_cleanup; exit \$status" 0 1 2 3 15
24 # get standard environment and checks
27 # real QA test starts here
31 _require_test_program "holetest"
35 _scratch_mkfs >>$seqres.full 2>&1
38 $here/src/holetest -f -w $SCRATCH_MNT/testfile 1
39 $here/src/holetest -f -w $SCRATCH_MNT/testfile 16
40 $here/src/holetest -f -w $SCRATCH_MNT/testfile 256