generic: test MADV_POPULATE_READ with IO errors
[xfstests-dev.git] / tests / generic / 070
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 # FS QA Test No. 070
6 #
7 # fsstress incarnation testing extended attributes writes
8 #
9 . ./common/preamble
10 _begin_fstest attr udf auto quick stress
11
12 # Override the default cleanup function.
13 _cleanup()
14 {
15     cd /
16     rm -rf $TEST_DIR/fsstress
17     rm -f $tmp.*
18 }
19
20 # Import common functions.
21 . ./common/filter
22 . ./common/attr
23
24 # real QA test starts here
25 _supported_fs generic
26
27 _require_test
28 _require_attrs
29
30 FSSTRESS_ARGS=`_scale_fsstress_args \
31         -d $TEST_DIR/fsstress \
32         -f allocsp=0 \
33         -f freesp=0 \
34         -f bulkstat=0 \
35         -f bulkstat1=0 \
36         -f resvsp=0 \
37         -f unresvsp=0 \
38         -f attr_set=100 \
39         -f attr_remove=100 \
40         -p 1 -n 10000 -S c`
41 $FSSTRESS_PROG $FSSTRESS_ARGS >$seqres.full 2>&1
42
43 status=$?
44 exit