update 114 for new getparents interface and xfs_io parent command.
[xfstests-dev.git] / 088
1 #! /bin/sh
2 # FS QA Test No. 088
3 #
4 # test out CAP_DAC_OVERRIDE and CAP_DAC_SEARCH code in 
5 # xfs_iaccess(ip,mode,cr)
6 #
7 #-----------------------------------------------------------------------
8 # Copyright (c) 2000-2004 Silicon Graphics, Inc.  All Rights Reserved.
9 #-----------------------------------------------------------------------
10 #
11 # creator
12 owner=root@icy.melbourne.sgi.com
13
14 seq=`basename $0`
15 echo "QA output created by $seq"
16
17 here=`pwd`
18 tmp=/tmp/$$
19 status=1        # failure is the default!
20 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
21
22 # get standard environment, filters and checks
23 . ./common.rc
24 . ./common.filter
25
26 _filter()
27 {
28     sed -e "s#$TEST_DIR#TEST_DIR#g" \
29         -e '/----------/d'
30 }
31
32 # link correct .out file
33 _link_out_file $seq.out
34
35 # real QA test starts here
36 _supported_fs xfs
37 _supported_os IRIX Linux
38
39 path=$TEST_DIR/t_access
40 src/t_access_root $path | tee $seq.full | _filter
41
42 # success, all done
43 status=0
44 exit