TESTS: Add a test that SANITIZE fails when SWP is on.

This commit is contained in:
Ronnie Sahlberg
2013-07-09 02:27:30 -07:00
parent 6e5a5745aa
commit a3283fbafd
7 changed files with 302 additions and 4 deletions

View File

@@ -59,7 +59,6 @@ test_sanitize_reservations(void)
if (cd == NULL) {
logging(LOG_NORMAL, "[SKIPPED] SANITIZE OVERWRITE is not "
"implemented according to REPORT_SUPPORTED_OPCODES.");
return;
} else {
logging(LOG_VERBOSE, "Test SANITIZE OVERWRITE with "
"initialization pattern of one full block");
@@ -84,7 +83,6 @@ test_sanitize_reservations(void)
if (cd == NULL) {
logging(LOG_NORMAL, "[SKIPPED] SANITIZE BLOCK_ERASE is not "
"implemented according to REPORT_SUPPORTED_OPCODES.");
return;
} else {
logging(LOG_VERBOSE, "Test SANITIZE BLOCK_ERASE");
ret = sanitize_conflict(iscsic, tgt_lun,
@@ -99,7 +97,6 @@ test_sanitize_reservations(void)
if (cd == NULL) {
logging(LOG_NORMAL, "[SKIPPED] SANITIZE CRYPTO_ERASE is not "
"implemented according to REPORT_SUPPORTED_OPCODES.");
return;
} else {
logging(LOG_VERBOSE, "Test SANITIZE CRYPTO_ERASE");
ret = sanitize_conflict(iscsic, tgt_lun,