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
27 cmd
='$VFSTEST -f $TESTBASE/vfstest.cmd $ADDARGS '
32 if [ $ret != 0 ] ; then
39 echo "$out" |
grep "NT_STATUS_ACCESS_DENIED" >/dev
/null
2>&1
42 # got ACCESS_DENIED .. fail
43 echo vfstest got NT_STATUS_ACCESS_DENIED
50 testit
"vfstest" test_vfstest || failed
=`expr $failed + 1`