2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved.
7 # Test races between private file mapping faults from racing processes or
11 seqres=$RESULT_DIR/$seq
12 echo "QA output created by $seq"
14 status=1 # failure is the default!
15 trap "_cleanup; exit \$status" 0 1 2 3 15
23 # get standard environment and checks
26 # real QA test starts here
29 _require_test_program "holetest"
33 _scratch_mkfs >>$seqres.full 2>&1
36 $here/src/holetest -f -p $SCRATCH_MNT/testfile 16
37 $here/src/holetest -f -p $SCRATCH_MNT/testfile 256
38 $here/src/holetest -f -p -F $SCRATCH_MNT/testfile 16
39 $here/src/holetest -f -p -F $SCRATCH_MNT/testfile 256