4 # ->page-mkwrite test - unwritten extents and mmap
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
19 trap "_cleanup; exit \$status" 0 1 2 3 15
26 # get standard environment, filters and checks
34 print $1, $2, "XX..YY", "AG", "(AA..BB)", $6, $7;
36 print $1, $2, "XX..YY", "AG", "(AA..BB)", $6;
40 # real QA test starts here
46 _scratch_mkfs_xfs >/dev/null 2>&1
49 TEST_FILE=$SCRATCH_MNT/test_file
50 TEST_PROG=$here/src/unwritten_mmap
54 $TEST_PROG $FILE_SIZE $TEST_FILE
56 xfs_bmap -vp $TEST_FILE | _filter_blocks