Provide conditions to show up problem for dioread on IRIX and Linux
[xfstests-dev.git] / 070
1 #! /bin/sh
2 # FS QA Test No. 070
3 #
4 # fsstress incarnation testing extended attributes writes
5 #
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
8 #-----------------------------------------------------------------------
9 #
10 # creator
11 owner=nathans@sgi.com
12
13 seq=`basename $0`
14 echo "QA output created by $seq"
15
16 here=`pwd`
17 tmp=/tmp/$$
18 status=1        # failure is the default!
19 trap "_cleanup; exit \$status" 0 1 2 3 15
20
21 _cleanup()
22 {
23     cd /
24     rm -f $tmp.*
25     _cleanup_testdir
26 }
27
28 # get standard environment, filters and checks
29 . ./common.rc
30 . ./common.filter
31
32 # real QA test starts here
33 _supported_fs xfs udf nfs
34 _supported_os IRIX Linux
35
36 _setup_testdir
37
38 $FSSTRESS_PROG \
39         -d $testdir/fsstress \
40         -f allocsp=0 \
41         -f freesp=0 \
42         -f bulkstat=0 \
43         -f bulkstat1=0 \
44         -f resvsp=0 \
45         -f unresvsp=0 \
46         -f attr_set=100 \
47         -f attr_remove=100 \
48         -S -p 1 -n 10000 >$seq.full 2>&1
49
50 status=$?
51 exit