2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2010 Intel Corporation
7 # Test for pwrite hang problem when writing from mmaped buffer of the same page
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
21 rm -f $tmp.* $TESTFILE
24 # get standard environment, filters and checks
28 # real QA test starts here
30 # Modify as appropriate.
34 TESTFILE=$TEST_DIR/test_file
35 TEST_PROG=$here/src/pwrite_mmap_blocked