SunVTS 3.0 Test Reference Manual

tapetest Test Modes

The tapetest supports all three modes. It performs different test schemes on the tape device, according to the mode you select.

Table 40-2 tapetest Test Modes

Test Mode 


Connection Test 

In this mode, tapetest verifies that the drive can be opened and that the drive type can be determined. If both checks are successful, or if the drive is currently busy, then the test passes. The tapetest fails if the open operation is unsuccessful for any reason other than the drive is busy.

Functional Test 

tapetest checks the status, rewinds the tape, erases and retensions it. If the device is a cartridge tape, tapetest writes a pattern to nblks or eot (default), rewinds the tape, and then reads and compares of the pattern.

If you invoke SunVTS through SyMON, the following Functional test description applies: tapetest opens the device and reads several blocks from it. If the read operation is successful, the test passes. On the other hand, if the device is busy or if no tape cartridge can be found in the drive, the test cannot run and fails.