cdrom - CD-ROM test
sh cdrom.sh source_dir
The cdrom.sh script builds a list of the files contained on the CD-ROM and then writes the list to a file under source_dir. Then, the cdrom.sh script copies one file at a time from the CD-ROM to a temporary directory. Next, it uses the cmp(1) command to compare the copied file with the original file present on the CD-ROM. If the cmp command fails, cdrom.sh writes an ERROR string and appends the error reported by the cmp command.
- source_dir
- Path name of the directory that the test will copy to disk and then compare with the original.
The test duration is about 15 minutes.
This test runs after the video test finishes.
cmp(1)
Copyright 2005 Sun Microsystems, Inc. All rights reserved.