2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2010 Red Hat, Inc. All Rights Reserved.
7 # Read from a sparse file immedialy after filling a hole to test for races
8 # in unwritten extent conversion.
11 seqres=$RESULT_DIR/$seq
12 echo "QA output created by $seq"
16 status=1 # failure is the default!
17 trap "_cleanup; exit \$status" 0 1 2 3 15
22 rm -f $TEST_DIR/tst-aio-dio-sparse-unwritten
25 # get standard environment, filters and checks
33 _require_aiodio aio-dio-hole-filling-race
35 echo "Silence is golden"
37 for i in `seq 1 500`; do
38 $AIO_TEST $TEST_DIR/tst-aio-dio-hole-filling-race || break