TESTS: Add tests for medium access commands when medium is ejected

This commit is contained in:
Ronnie Sahlberg
2013-03-03 09:26:34 -08:00
parent 44c789c9c8
commit a2fd736930
9 changed files with 1322 additions and 72 deletions
+7
View File
@@ -66,6 +66,11 @@ static CU_TestInfo tests_get_lba_status[] = {
CU_TEST_INFO_NULL
};
static CU_TestInfo tests_nomedia[] = {
{ (char *)"testNoMediaSBC", test_nomedia_sbc },
CU_TEST_INFO_NULL
};
static CU_TestInfo tests_orwrite[] = {
{ (char *)"testOrWriteSimple", test_orwrite_simple },
{ (char *)"testOrWriteBeyondEol", test_orwrite_beyond_eol },
@@ -318,6 +323,8 @@ static CU_TestInfo tests_writeverify16[] = {
static CU_SuiteInfo suites[] = {
{ (char *)"TestGetLBAStatus", test_setup, test_teardown,
tests_get_lba_status },
{ (char *)"TestNoMedia", test_setup, test_teardown,
tests_nomedia },
{ (char *)"TestOrWrite", test_setup, test_teardown,
tests_orwrite },
{ (char *)"TestPrefetch10", test_setup, test_teardown,