4 # drive the src/nametest program
5 # which does a heap of open(create)/unlink/stat
6 # and checks that error codes make sense with its
7 # memory of the files created.
9 #-----------------------------------------------------------------------
10 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
11 #-----------------------------------------------------------------------
17 echo "QA output created by $seq"
21 status=0 # success is the default!
22 trap "_cleanup; exit \$status" 0 1 2 3 15
32 # get standard environment, filters and checks
36 # real QA test starts here
37 _supported_fs xfs udf nfs
38 _supported_os IRIX Linux
42 status=1 # default failure
43 sourcefile=$tmp.nametest
48 # need to create an input file with a list of
49 # filenames on each line
51 while [ $i -le $num_filenames ]; do
52 echo "nametest.$i" >>$sourcefile
58 $here/src/nametest -l $sourcefile -s $seed -i $iterations -z