4 Usage: run.sh VFSTEST PREFIX
15 VFSTEST_PREFIX
=vfstest
16 VFSTEST_TMPDIR
=$
(mktemp
-d ${PREFIX}/${VFSTEST_PREFIX}_XXXXXX
)
18 incdir
=`dirname $0`/..
/..
/..
/..
/testprogs
/blackbox
23 cd $VFSTEST_TMPDIR ||
exit 1
25 testit
"vfstest" $VFSTEST -f $TESTBASE/vfstest.cmd
$ADDARGS || failed
=`expr $failed + 1`
26 testname
=".streams check"
27 subunit_start_test
$testname
28 NUM
=`find .streams | wc -l`
29 if [ $NUM -ne 3 ] ; then
30 echo "streams_depot left ${NUM} in .streams, expected 3" | subunit_fail_test
$testname
31 failed
=`expr $failed + 1`
33 subunit_pass_test
$testname