Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Shaswata Das 5c6fe3db62
Create README.md
4 years ago
..
chicago commiting as it is 4 years ago
daytona commiting as it is 4 years ago
dll commiting as it is 4 years ago
mac commiting as it is 4 years ago
apitests.cxx commiting as it is 4 years ago
cfrg2048.r commiting as it is 4 years ago
comtests.cxx commiting as it is 4 years ago
createdf.cxx commiting as it is 4 years ago
dftests.cxx commiting as it is 4 years ago
dirs commiting as it is 4 years ago
enumtsts.cxx commiting as it is 4 years ago
flattsts.cxx commiting as it is 4 years ago
hglbtst.cxx commiting as it is 4 years ago
ilkbtsts.cxx commiting as it is 4 years ago
init.cxx commiting as it is 4 years ago
init.hxx commiting as it is 4 years ago
irootstg.cxx commiting as it is 4 years ago
ivcptsts.cxx commiting as it is 4 years ago
mactests.bat commiting as it is 4 years ago
misctsts.cxx commiting as it is 4 years ago
readme.txt commiting as it is 4 years ago
res.rc commiting as it is 4 years ago
roottsts.cxx commiting as it is 4 years ago
runtests.bat commiting as it is 4 years ago
snbtests.cxx commiting as it is 4 years ago
stgbase.r commiting as it is 4 years ago
stgflat.bat commiting as it is 4 years ago
stgtests.cxx commiting as it is 4 years ago
stmtests.cxx commiting as it is 4 years ago
util.cxx commiting as it is 4 years ago
vcpytsts.cxx commiting as it is 4 years ago

readme.txt

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.