## Storage Device Driver Reference

[prev][next][parent][TOC]

### Overview

Optical functional verification tests exercise the Application Program Interfaces (APIs) - mainly DosDevIOCtl variations - that interface with optical device drivers. The test environment is defined by the Device Driver Test Tool (DDTT) and each test is written as a DDTT script using Global and optical grammars. See Device Driver Test Tool (DDTT) for a description of the DDTT. The tests described herein give the user a repeatable set of scripts for verifying disk and diskette functions. They may also be used as examples for creating additional specialized test cases .

As the DDTT parses and executes each test script, it simultaneously creates a disk log file that timestamps the activity and logs each script command. If the command initiates an API call, then the result of the command is logged, be it failure with a return code or success with possible returned data. If the script fails to complete, the log, up to the point of failure, is available for diagnosis.

These tests can be used to verify correct interaction between the optical device and the following OS/2 components:

DOSDevIOCtl API interface

FAT file system

OPTICAL.DMD, device manager

SCSI Adapter device drivers

Non-SCSI Adapter device drivers

Optical device support is currently limited to media that are blocked for 512 bytes (a file system limitation).