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

View File

@@ -33,7 +33,7 @@ test_startstopunit_pwrcnd(void)
logging(LOG_VERBOSE, LOG_BLANK_LINE);
logging(LOG_VERBOSE, "Test STARTSTOPUNIT PowerCondition");
if (!removable) {
logging(LOG_VERBOSE, "[SKIPPED] LUN is not removalbe. "
logging(LOG_VERBOSE, "[SKIPPED] LUN is not removable. "
"Skipping test.");
return;
}
@@ -44,7 +44,7 @@ test_startstopunit_pwrcnd(void)
1, 0, i, 0, 1, 0);
CU_ASSERT_EQUAL(ret, 0);
logging(LOG_VERBOSE, "Test TESTNUITREADY that medium is not ejected.");
logging(LOG_VERBOSE, "Test TESTUNITREADY that medium is not ejected.");
ret = testunitready(iscsic, tgt_lun);
CU_ASSERT_EQUAL(ret, 0);
}