windows-nt/Source/XPSP1/NT/com/oleutest/stgbvt/ctolestg/tests/stgbase
2020-09-26 16:20:57 +08:00
..
chicago Add source files 2020-09-26 16:20:57 +08:00
daytona Add source files 2020-09-26 16:20:57 +08:00
dll Add source files 2020-09-26 16:20:57 +08:00
mac Add source files 2020-09-26 16:20:57 +08:00
apitests.cxx Add source files 2020-09-26 16:20:57 +08:00
cfrg2048.r Add source files 2020-09-26 16:20:57 +08:00
comtests.cxx Add source files 2020-09-26 16:20:57 +08:00
createdf.cxx Add source files 2020-09-26 16:20:57 +08:00
dftests.cxx Add source files 2020-09-26 16:20:57 +08:00
dirs Add source files 2020-09-26 16:20:57 +08:00
enumtsts.cxx Add source files 2020-09-26 16:20:57 +08:00
flattsts.cxx Add source files 2020-09-26 16:20:57 +08:00
hglbtst.cxx Add source files 2020-09-26 16:20:57 +08:00
ilkbtsts.cxx Add source files 2020-09-26 16:20:57 +08:00
init.cxx Add source files 2020-09-26 16:20:57 +08:00
init.hxx Add source files 2020-09-26 16:20:57 +08:00
irootstg.cxx Add source files 2020-09-26 16:20:57 +08:00
ivcptsts.cxx Add source files 2020-09-26 16:20:57 +08:00
mactests.bat Add source files 2020-09-26 16:20:57 +08:00
misctsts.cxx Add source files 2020-09-26 16:20:57 +08:00
readme.txt Add source files 2020-09-26 16:20:57 +08:00
res.rc Add source files 2020-09-26 16:20:57 +08:00
roottsts.cxx Add source files 2020-09-26 16:20:57 +08:00
runtests.bat Add source files 2020-09-26 16:20:57 +08:00
snbtests.cxx Add source files 2020-09-26 16:20:57 +08:00
stgbase.r Add source files 2020-09-26 16:20:57 +08:00
stgflat.bat Add source files 2020-09-26 16:20:57 +08:00
stgtests.cxx Add source files 2020-09-26 16:20:57 +08:00
stmtests.cxx Add source files 2020-09-26 16:20:57 +08:00
util.cxx Add source files 2020-09-26 16:20:57 +08:00
vcpytsts.cxx Add source files 2020-09-26 16:20:57 +08:00

StgBase.exe
-----------
This suite of tests does very basic testing of ole storage.
All binaries are in the bin subtree, all batchfiles and 
other scripts are in the batch subdirectory.

To run the basic suite locally, use the basetsts.bat file.

Due to added features in ole32 and ntfs for WinNT50, stgbase
will run in different modes to test the different features now
available for storage.

By default only basic docfiles are used in WindowsNT50. But you can
change the default behaviour on NTFS5 drives to use the new Ntfs 
Structured Storage format by changing some values in the registry.

For docfile format:
HKLM\Software\Microsoft\Ole 
    EnableNtfsStructuredStorage = "NN"

For Ntfs Structured Storage format 
HKLM\Software\Microsoft\Ole 
    EnableNtfsStructuredStorage = "YY"
    EnableCNSS = "Y"

1. Basic docfile. Run this on a FAT or NTFS4 volume (or with the
   above registry settings for docfile on NTFS5 drive) with 
   basetsts.bat
2. Ntfs Structured Storage (nssfile). Run this suite on a local NTFS5 
   volume with basetsts.bat with the Ntfs Structured Storage settings
3. Conversion between Ntfs Structured Storage and Basic Docfile.  
   There are two methods to invoke this test mechanism. 
	1. Local machine. Set the following values in the registry
	   under HKLM\Software\Microsoft\Ole 
	       EnableNtfsStructuredStorage = "YN"
               EnableCNSS = "Y"
	   Then run the suite on a local NTFS5 volume with
	   basetsts.bat
	2. Distributed method, requiring two machines.

Distributed Run
---------------

This requires two machines, one is  the server and the other the
client. The server will be  creating nssfiles, the client will be
accessing these test files as docfiles - thus invoking conversion
over the redirector. This method requires the use of rundrive and
stgchk utilitys.

For a distributed run of the base tests, you will need to use the
rundrive utility, and also have stgchk available. To run:

On the server, run 'dstginst.bat s' to register the rundrive utils,
share a directory and prepare the distributed scripts.

On the client, run 'dstginst.bat c <servername>' to register
rundrive utils,  connect to the server via net use, and finish
preparing the distributed scripts.

On the client, run dstgrun.bat to run the tests.
All the logs should end up on the server machine.