TESTS: Add 'initiator2' variable so we can run tests with two different initiatir names

Update the 0420 test to use different initiator names for the two sessions to the target.
This commit is contained in:
Ronnie Sahlberg
2012-09-30 08:25:23 -07:00
parent 2b6bc6c687
commit b160b95060
2 changed files with 5 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ int T0420_reserve6_simple(const char *initiator, const char *url, int data_loss,
return -1;
}
iscsi2 = iscsi_context_login(initiator, url, &lun);
iscsi2 = iscsi_context_login(initiator2, url, &lun);
if (iscsi2 == NULL) {
printf("Failed to login to target\n");
return -1;