TESTS: Update the protection tests

This commit is contained in:
Ronnie Sahlberg
2013-05-12 08:06:08 -07:00
parent 67676d4756
commit ee689ee3fb
30 changed files with 160 additions and 151 deletions

View File

@@ -208,7 +208,7 @@ int T0390_mandatory_opcodes_sbc(const char *initiator, const char *url)
printf("Test UNMAP ... ");
if (lbpme == 0) {
if (rc16 == NULL || rc16->lbpme == 0){
printf("[LBPME == 0, SKIPPING TEST]\n");
} else {
task = iscsi_unmap_sync(iscsi, lun, 0, 0, NULL, 0);
@@ -246,7 +246,7 @@ int T0390_mandatory_opcodes_sbc(const char *initiator, const char *url)
printf("Test WRITE SAME16 ... ");
if (lbpme == 0) {
if (rc16 == NULL || rc16->lbpme == 0){
printf("[LBPME == 0, SKIPPING TEST]\n");
} else {
task = iscsi_writesame16_sync(iscsi, lun, 0,