Storage Tests
The following OpenSolaris storage test suites are available.
OpenSolaris Storage Test Suites
Test Suite
Source Code
Binary Packages
Test Framework
Community / Project
Storage Driver Test Suite
SDTS means Storage Driver Test Suite. It will make most of the manual test areas of storage HBA driver testing to be automated.
SDTS takes advantage of CTI framework for automated test configuration, command line user interface(run_test),HTML/text reporting and assertion based testing and standard result codes etc.
Test Cases
- package commands testing - This testing is to use all kinds of system commands related to packages that can be used to verify a new driver package.Test commands include pkginfo, pkgchk, pkgrm and pkgadd.
- driver commands testing - This testing is to use all kinds of system commands related to drivers that can be used to load/unload/update a new driver. Test commands include rem_drv, add_drv, update_drv,modinfo and devfsadm.
- module commands testing - This testing is to use all kinds of system commands related to modules that that can be used to load/unload a new driver module. Test commands include modinfo, modload and modunload.
- disk commands testing - This testing is to use all kinds of system commands related to disk that that can be used to fdisk,format,newfs, mount,umount and dd disk or slice. Test commands include format, format -e ,fdisk, newfs, sync, mount/umount, dd, prtvtoc and fmthard.
- ioctl testing - This testing focus on testing ioctl interface of HBA driver interface.
- hotplug testing - This testing focus on testing hotplug feature of HBA driver.
- power management testing - This testing focus on testing power management feature of HBA driver.
Baseline Results
So far, the SDTS has been run on snv (till snv_87) on the Sparc and X86 platforms. There is no bug found.
Megacli Test Suite
megacli is a test suite for mega_sas driver regression testing. It will use LSI MegaCli tool to verify:
- mega_sas driver support the LSI MegaRAID SAS 1078 based controllers working on Solaris platform.
- mega_sas driver support the LSI MegaCli tool running on Solaris platform.
megacli test suite takes advantage of CTI framework for automated test configuration, command line user interface(run_test), HTML/text reporting and assertion based testing and standard result codes etc.
Test Cases
- Adapter property testing - This testing is to verify the correctness of the testing adapter's properties, such as pci-ids.
- RAID functionality testing - This testing is to create all kinds of RAID levels supported by the testing adapter, make different file systems and perform I/O tests on these RAID volumes. Tested file systems include ufs, zfs, fat32 etc.
Baseline Results
So far, the megacli test suite can be run on snv_96(or above) on the x86 platforms. All known bugs have been fixed.
Reference
CTI-TET page in opensolaris:http://www.opensolaris.org/os/community/testing/testsuites/ctifortet
CTI-TET package: http://dlc.sun.com/osol/test/downloads/current