sl@0
|
1 |
File System Recoverability test support
|
sl@0
|
2 |
|
sl@0
|
3 |
File specifications should placed in a text file named CorruptFileNames.lst
|
sl@0
|
4 |
The specification should be in the format
|
sl@0
|
5 |
pathName, returnCode, [ONCE|EVERY]
|
sl@0
|
6 |
where
|
sl@0
|
7 |
pathName is the fully qualified pathname of the file deemed corrupt
|
sl@0
|
8 |
returnCode is an integer error code which is to be returned if an attempt is made to open pathName
|
sl@0
|
9 |
ONCE means that only the first access to the file will return the specified error code
|
sl@0
|
10 |
EVERY means that every access to the file will return the specified error code
|
sl@0
|
11 |
|
sl@0
|
12 |
The example file specification lines below are reproduced from \f32test\server\corruptTest\CorruptFileNames.lst
|
sl@0
|
13 |
z:\system\data\BadFile1.txt, -6, ONCE
|
sl@0
|
14 |
z:\system\data\BadFile2.txt , -20 ,every
|
sl@0
|
15 |
|
sl@0
|
16 |
CorruptFileNames.lst will be searched for across all drives in the order used by TFindFile::FindByDir
|
sl@0
|
17 |
using directories in the order given below
|
sl@0
|
18 |
\
|
sl@0
|
19 |
\sys\data\
|
sl@0
|
20 |
\system\data
|
sl@0
|
21 |
|