generic: add test for boundary in xfs_attr_shortform_verify
[xfstests-dev.git] / tests / generic / 036
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2014 Dmitry Monakhov.  All Rights Reserved.
4 #
5 # FS QA Test No. 036
6 #
7 # CVE-2014-8086
8 # Run aio-dio-fcntl-race - test aio write race with O_DIRECT toggle
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 # real QA test starts here
30
31 _supported_fs generic
32 _supported_os Linux
33 _require_test
34
35 _run_aiodio aio-dio-fcntl-race
36
37 _check_dmesg _filter_aiodio_dmesg
38
39 exit $status