fstests: use _require_symlinks on all necessary tests
[xfstests-dev.git] / tests / generic / 198
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2008 Eric Sandeen.  All Rights Reserved.
4 #
5 # FS QA Test No. 198
6 #
7 # Test that aio+dio into holes does completion at the proper offsets
8 # See also https://bugzilla.redhat.com/show_bug.cgi?id=217098
9 #
10 seq=`basename $0`
11 seqres=$RESULT_DIR/$seq
12 echo "QA output created by $seq"
13
14 here=`pwd`
15 tmp=/tmp/$$
16 status=1        # failure is the default!
17 trap "_cleanup; exit \$status" 0 1 2 3 15
18
19 _cleanup()
20 {
21     cd /
22     rm -f $tmp.*
23 }
24
25 # get standard environment, filters and checks
26 . ./common/rc
27 . ./common/filter
28
29 _supported_fs generic
30 _supported_os Linux
31 _require_aiodio aiodio_sparse2
32 _require_test
33
34 echo "Silence is golden."
35
36 # real QA test starts here
37 rm -f $seqres.full
38
39 rm -f "$TEST_DIR/aiodio_sparse*"
40 $AIO_TEST "$TEST_DIR/aiodio_sparse"
41
42 status=$?
43 exit