2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2017 SUSE. All Rights Reserved.
7 # More SEEK_DATA/SEEK_HOLE sanity tests.
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
18 BASE_TEST_FILE=$TEST_DIR/seek_sanity_testfile
22 rm -f $tmp.* $BASE_TEST_FILE.*
25 # get standard environment, filters and checks
33 _require_seek_data_hole
34 # All the seek sanity test cases here do falloc
35 _require_xfs_io_command "falloc"
37 _require_test_program "seek_sanity_test"
39 _run_seek_sanity_test -s 13 -e 16 $BASE_TEST_FILE > $seqres.full 2>&1 ||
40 _fail "seek sanity check failed!"
43 echo "Silence is golden"