Reparse Points Test

Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Type: Automated Test

Overview

The Reparse Points Test tests reparse points on the upper file system stack.

More information about File System Behavior is available at http://download.microsoft.com/download/4/3/8/43889780-8d45-4b2e-9d3a-c696a890309f/File%20System%20Behavior%20Overview.pdf.

Details

Run Time:1 hour

Log File:

ReparsePoint_NTFS.log

ReparsePoint_CNTFS.log

System Restart Required: Yes

Test Category:Kernel Mode Filter Drivers

Supported operating systems for Logo or Signature testing:

  • Windows 7 SP1

  • Windows Server 2008 R2 SP1

Program: rp_regres.exe

Requirements

Software Requirements

The test tool requires the following software:

  • Supported operating system (see list above)
  • Filter driver to be tested, along with any supporting application suite

Hardware Requirements

  • Computer that meets the minimum software requirements
  • Windows keyboard
  • Two-button pointing device
  • Color display monitor capable of at least 1024 by 768 resolution, 32-bits per pixel, 60 Hz
  • Hard drive with a minimum of 20 GB available on partition C:
  • Extra hard drive space for four simple 2048 mb partitions and two simple 1024 mb partitions

Processor

The test tool runs on the following processor architectures:

  • x86
  • x64

Running the Test

Before running the test, the following partitions need to be added to the Windows environment:

Label File System Size Expected Drive Letter
NTFS ntfs 2048mb g:
CNTFS ntfs (compressed) 2048mb i:
FAT Fat16 1024mb k:
FAT32 Fat32 1024mb l:
ExFAT ExFat 2048mb m:
UDF UDF 2048mb n:

When executed, the test will run variations for each of the six partitions above.

All test cases return PASS or FAIL. Review the test results in the log file for specific details about failures.

RunFileIO.cmd contains references to environment variables that can be changed to allow for skipping of certain file systems.

Command Syntax

Command option Description
rp_regres %DRIVE_ltr% Specifies driver to test

Troubleshooting

Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

If you experience a test failure, run it with the option /V to have the test print additional information on variation failures. Example: rp_regres %DRIVE_ltr% /V

If you experience a large number of failures, make sure that you are running on the correct file-system type. You can also check the file-system information of a volume to make sure that Reparse Points are supported by using the following fsutil command, and looking for the output “Supports Reparse Points”: fsutil fsinfo volumeinfo %DRIVE_ltr%

Code Tour

File Manifest

File Location
rp_regres.exe [WTT\TestBinRoot]\NTTest\basetest\core_file_services\ntfs\
ntlog.dll [WTT\TestBinRoot]\NTTest\CommonTest\Ntlog\
ntlogger.ini [WTT\TestBinRoot]\NTTest\CommonTest\Ntlog\
stresslog.dll [WTT\TestBinRoot]\NTTest\basetest\core_file_services\shared_libs\
RunReparsePoint.cmd [WTT\TestBinRoot]\NTTest\BASETEST\Core_File_Services\FilterManager\TestSuite\Scripts\FileSystems\
WrapReparsePoint.cmd [WTT\TestBinRoot]\NTTest\BASETEST\Core_File_Services\FilterManager\TestSuite\Scripts\FileSystems\

Test Assertions

Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

The tests expect the partitions to be in place.

Build date: 9/14/2012