ReparsePoints

This automated test validates reparse points on the upper file system stack.

This test sets, deletes, and queries reparse points via FSCTLs. The test proceeds by setting different sizes of reparse data on files and directories.

The test also includes dismount testing with setting reparse points and invalid input. Specifically, the test includes the following:

  • FSCTL_SET_REPARSE_POINT

  • FSCTL_GET_REPARSE_POINT

  • FSCTL_DELETE_REPARSE_POINT

Note  

For more information about the behavior of file systems, see File System Behavior in the Microsoft Windows Environment.

 

Test details

Associated requirements

Filter.Driver.AntiVirus.MiniFilter Filter.Driver.FileSystem.Functionality Filter.Driver.FileSystem.MiniFilter

See the filter hardware requirements.

Platforms

Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~60 minutes

Categories

Certification

Type

Automated

 

Running the test

For more information about requirements, see File System Testing Prerequisites.

In addition, this test requires extra hard drive space for four simple 2,048-megabyte (MB) partitions and two simple 1,024-MB partitions.

Before you run the test, you must add the following partitions to the Windows environment.

Label File system Size Expected drive letter

NTFS

NTFS

2,048 MB

g:

CNTFS

NTFS (compressed)

2,048 MB

i:

REFS

REFS

1,024 MB

o:

 

Note  

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

 

Troubleshooting

For troubleshooting information, see Troubleshooting File System Testing.

All test cases return Pass or Fail. To review test details, review the test log from Windows Hardware Certification Kit (Windows HCK) Studio.

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

If you experience many failures, make sure that you are running on the correct type of file system. You can also check the file-system information about a volume to make sure that reparse points are supported. To do so, use the command fsutil fsinfo volumeinfo %DRIVE_ltr% and look for the output Supports Reparse Points.

More information

Command syntax

Command option Description

Rp_regres %DRIVE_ltr%

Specifies the driver to test.

 

Note  

For command-line help for this test binary, type /h.

 

File list

File Location

Rp_regres.exe

<[testbinroot]>\NTTest\basetest\core_file_services\ntfs\

Ntlog.dll

<[testbinroot]>\NTTest\CommonTest\Ntlog\

Ntlogger.ini

<[testbinroot]>\NTTest\CommonTest\Ntlog\

Stresslog.dll

<[testbinroot]>\NTTest\basetest\core_file_services\shared_libs\

RunReparsePoint.cmd

<[testbinroot]>\NTTest\BASETEST\Core_File_Services\FilterManager\TestSuite\Scripts\FileSystems\

WrapReparsePoint.cmd

<[testbinroot]>\NTTest\BASETEST\Core_File_Services\FilterManager\TestSuite\Scripts\FileSystems\

IsREFSSupported.vbs

[WTT\TestBinRoot]\NTTest\BASETEST\Core_File_Services\FilterManager\TestSuite\Scripts\FileSystems

 

 

 

Send comments about this topic to Microsoft