generic: test MADV_POPULATE_READ with IO errors
[xfstests-dev.git] / tests / generic / 529
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0+
3 # Copyright (c) 2019 Oracle, Inc.  All Rights Reserved.
4 #
5 # FS QA Test No. 529
6 #
7 # Regression test for a bug where XFS corrupts memory if the listxattr buffer
8 # is a particularly well crafted size on a filesystem that supports posix acls.
9 #
10 . ./common/preamble
11 _begin_fstest auto quick acl attr
12
13 # Import common functions.
14 . ./common/attr
15
16 # real QA test starts here
17 _supported_fs generic
18 _require_acls
19 _require_scratch
20 _require_test_program "t_attr_corruption"
21
22 _scratch_mkfs >> $seqres.full 2>&1
23 _scratch_mount
24
25 $here/src/t_attr_corruption $SCRATCH_MNT
26
27 status=0
28 exit