mirror of https://github.com/tongzx/nt5src
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.
Lex Nastin
744f0b4006
|
4 years ago | |
---|---|---|
.. | ||
chicago | 4 years ago | |
daytona | 4 years ago | |
dll | 4 years ago | |
mac | 4 years ago | |
apitests.cxx | 4 years ago | |
cfrg2048.r | 4 years ago | |
comtests.cxx | 4 years ago | |
createdf.cxx | 4 years ago | |
dftests.cxx | 4 years ago | |
dirs | 4 years ago | |
enumtsts.cxx | 4 years ago | |
flattsts.cxx | 4 years ago | |
hglbtst.cxx | 4 years ago | |
ilkbtsts.cxx | 4 years ago | |
init.cxx | 4 years ago | |
init.hxx | 4 years ago | |
irootstg.cxx | 4 years ago | |
ivcptsts.cxx | 4 years ago | |
mactests.bat | 4 years ago | |
misctsts.cxx | 4 years ago | |
readme.txt | 4 years ago | |
res.rc | 4 years ago | |
roottsts.cxx | 4 years ago | |
runtests.bat | 4 years ago | |
snbtests.cxx | 4 years ago | |
stgbase.r | 4 years ago | |
stgflat.bat | 4 years ago | |
stgtests.cxx | 4 years ago | |
stmtests.cxx | 4 years ago | |
util.cxx | 4 years ago | |
vcpytsts.cxx | 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.