2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
10 _begin_fstest dir udf auto quick
13 status=0 # success is the default!
15 # Override the default cleanup function.
20 [ -n "$out" ] && rm -rf $out
23 # Import common functions.
26 # real QA test starts here
30 out=$TEST_DIR/dirstress.$$
38 echo "*** TEST $test $args -f <count>"
39 if ! $here/src/dirstress -d $out -f $count $args >$tmp.out 2>&1
41 echo " dirstress failed"
42 echo "*** TEST $test -d $out -f $count $args" >>$seqres.full
43 cat $tmp.out >>$seqres.full
48 # dirstress doesn't check returns - this is a crash & burn test.
51 echo "!! couldn't mkdir $out"
57 _test 1 "-p 1 -n 1" $count
58 _test 2 "-p 5 -n 1" $count
59 _test 3 "-p 5 -n 5" $count