6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
19 status=0 # success is the default!
20 trap "_cleanup; exit \$status" 0 1 2 3 15
26 [ -n "$out" ] && rm -rf $out
30 # get standard environment, filters and checks
34 # real QA test starts here
35 _supported_fs xfs udf nfs
36 _supported_os IRIX Linux
40 out=$testdir/dirstress.$$
50 echo "*** TEST $test $args -f <count>"
51 if ! $here/src/dirstress -d $out -f $count $args >$tmp.out 2>&1
53 echo " dirstress failed"
54 echo "*** TEST $test -d $out -f $count $args" >>$seq.full
55 cat $tmp.out >>$seq.full
60 # dirstress doesn't check returns - this is a crash & burn test.
63 echo "!! couldn't mkdir $out"
69 _test 1 "-p 1 -n 1" $count
70 _test 2 "-p 5 -n 1" $count
71 _test 3 "-p 5 -n 5" $count