TESTS: Add tests for medium access commands when medium is ejected
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user