2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
16 status=0 # success is the default!
17 trap "_cleanup; exit \$status" 0 1 2 3 15
23 [ -n "$out" ] && rm -rf $out
26 # get standard environment, filters and checks
30 # real QA test starts here
34 out=$TEST_DIR/dirstress.$$
44 echo "*** TEST $test $args -f <count>"
45 if ! $here/src/dirstress -d $out -f $count $args >$tmp.out 2>&1
47 echo " dirstress failed"
48 echo "*** TEST $test -d $out -f $count $args" >>$seqres.full
49 cat $tmp.out >>$seqres.full
54 # dirstress doesn't check returns - this is a crash & burn test.
57 echo "!! couldn't mkdir $out"
63 _test 1 "-p 1 -n 1" $count
64 _test 2 "-p 5 -n 1" $count
65 _test 3 "-p 5 -n 5" $count