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