Object ID 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 object ID test checks the following FSCTLs:
- FSCTL_CREATE_OR_GET_OBJECT_ID
- FSCTL_DELETE_OBJECT_ID
- FSCTL_GET_OBJECT_ID
- FSCTL_SET_OBJECT_ID
- FSCTL_SET_OBJECT_ID_EXTENDED
More information about File System Behavior is available at https://download.microsoft.com/download/4/3/8/43889780-8d45-4b2e-9d3a-c696a890309f/File%20System%20Behavior%20Overview.pdf.
Details
**Run Time:**1 hour
Log File:
ObjectID_BVT_NTFS.log
ObjectID_BVT_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: IFSTest.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 |
---|---|
runkarr %DRIVE_1% %DRIVE_2% -bvt | Requires two drive letters and the –bvt parameter |
Code Tour
File Manifest
File | Location |
---|---|
oidtest.exe | [WTT\TestBinRoot]\NTTest\basetest\core_file_services\ntfs\oid\ |
RunObjectID.cmd | [WTT\TestBinRoot]\NTTest\BASETEST\Core_File_Services\FilterManager\TestSuite\Scripts\FileSystems\ |
WrapObjectID.cmd | [WTT\TestBinRoot]\NTTest\BASETEST\Core_File_Services\FilterManager\TestSuite\Scripts\FileSystems\ |
ntlog.dll | [WTT\TestBinRoot]\NTTest\CommonTest\NTLog\ |
ntlogger.ini | [WTT\TestBinRoot]\NTTest\CommonTest\NTLog\ |
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