DOS Unit Compatibility test suite

This document describes the expected behavior, as well as the test currently done to test the compatibility of the DOS unit with the original Borland Pascal v7.01 compiler suite. It is intended to be generic, and works with scripts across different operating systems.

The testsuite is divided into seven different section, as described in the following table:

Date and Time routines
Interrupt Support routines
Disk status routines
File-Handling routines
Environment Handling routines
Process Handling routines
Miscealleneous routines

The following assumptions are made when testing the DOS unit:

- The system unit is valid, and has the expected functionality
- The code generation gives correct generated code

The following external system files are created with this unit:

- TESTDOS.DAT in the same directory where the test is executed.
- MYDIR in the same directory where the test is executed.
- TESTFILE in the same directory where the test is executed

The following routines are not tested in the testdos unit:

- Intr()
- MsDos()
- GetIntVec()
- SetIntVec()
- Keep()

The RootPath should be set to point ot the Root where the volume identifier can be found. This is about the only really platform dependant constant / variable in the test unit.