Spelling fixes: Dont => Don't
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
committed by
Ronnie Sahlberg
parent
c606dd50f9
commit
120b308741
@@ -70,7 +70,7 @@ int T0105_read10_invalid(const char *initiator, const char *url)
|
||||
task->xfer_dir = SCSI_XFER_READ;
|
||||
task->expxferlen = 0;
|
||||
|
||||
/* we dont want autoreconnect since some targets will drop the session
|
||||
/* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
|
||||
@@ -70,7 +70,7 @@ int T0122_read6_invalid(const char *initiator, const char *url)
|
||||
task->xfer_dir = SCSI_XFER_READ;
|
||||
task->expxferlen = 0;
|
||||
|
||||
/* we dont want autoreconnect since some targets will drop the session
|
||||
/* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
|
||||
@@ -96,7 +96,7 @@ int T1000_cmdsn_invalid(const char *initiator, const char *url)
|
||||
|
||||
printf("Write 2 blocks with CMDSN > MAXCMDSN ... ");
|
||||
change_cmdsn = 1;
|
||||
/* we dont want autoreconnect since some targets will drop the
|
||||
/* we don't want autoreconnect since some targets will drop the
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
@@ -132,7 +132,7 @@ int T1000_cmdsn_invalid(const char *initiator, const char *url)
|
||||
|
||||
printf("Write 2 blocks with CMDSN == 0 ... ");fflush(stdout);
|
||||
change_cmdsn = 2;
|
||||
/* we dont want autoreconnect since some targets will drop the
|
||||
/* we don't want autoreconnect since some targets will drop the
|
||||
* on this condition.
|
||||
*/
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ int T1010_datasn_invalid(const char *initiator, const char *url)
|
||||
local_iscsi_queue_pdu = my_iscsi_queue_pdu;
|
||||
|
||||
printf("Write 2 DATA-IN with DATASN == 0 ... ");
|
||||
/* we dont want autoreconnect since some targets will drop the
|
||||
/* we don't want autoreconnect since some targets will drop the
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
@@ -145,7 +145,7 @@ int T1010_datasn_invalid(const char *initiator, const char *url)
|
||||
iscsi->target_max_recv_data_segment_length = block_size;
|
||||
|
||||
printf("Write 2 DATA-IN with DATASN == 27 ... ");
|
||||
/* we dont want autoreconnect since some targets will drop the
|
||||
/* we don't want autoreconnect since some targets will drop the
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
@@ -182,7 +182,7 @@ int T1010_datasn_invalid(const char *initiator, const char *url)
|
||||
iscsi->target_max_recv_data_segment_length = block_size;
|
||||
|
||||
printf("Write 2 DATA-IN with DATASN == -1 ... ");
|
||||
/* we dont want autoreconnect since some targets will drop the
|
||||
/* we don't want autoreconnect since some targets will drop the
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
@@ -222,7 +222,7 @@ int T1010_datasn_invalid(const char *initiator, const char *url)
|
||||
iscsi->target_max_recv_data_segment_length = block_size;
|
||||
|
||||
printf("Write 2 DATA-IN with DATASN in reverse order (1, 0) ... ");
|
||||
/* we dont want autoreconnect since some targets will drop the
|
||||
/* we don't want autoreconnect since some targets will drop the
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
|
||||
@@ -100,7 +100,7 @@ int T1020_bufferoffset_invalid(const char *initiator, const char *url)
|
||||
local_iscsi_queue_pdu = my_iscsi_queue_pdu;
|
||||
|
||||
printf("Write 2 DATA-IN with BUFFEROFFSET 1M too high ... ");
|
||||
/* we dont want autoreconnect since some targets will drop the
|
||||
/* we don't want autoreconnect since some targets will drop the
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
@@ -137,7 +137,7 @@ int T1020_bufferoffset_invalid(const char *initiator, const char *url)
|
||||
iscsi->target_max_recv_data_segment_length = block_size;
|
||||
|
||||
printf("Write 2 DATA-IN with BUFFEROFFSET==-%zu ... ", block_size);
|
||||
/* we dont want autoreconnect since some targets will drop the
|
||||
/* we don't want autoreconnect since some targets will drop the
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
|
||||
@@ -78,7 +78,7 @@ int T1030_unsolicited_data_overflow(const char *initiator, const char *url)
|
||||
buf = malloc(iscsi->first_burst_length);
|
||||
|
||||
printf("Write too much unsolicited data ... ");
|
||||
/* we dont want autoreconnect since some targets will drop the session
|
||||
/* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
|
||||
@@ -80,7 +80,7 @@ int T1040_saturate_maxcmdsn(const char *initiator, const char *url)
|
||||
|
||||
ret = 0;
|
||||
|
||||
/* we dont want autoreconnect since some targets will drop the
|
||||
/* we don't want autoreconnect since some targets will drop the
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsi, 1);
|
||||
|
||||
@@ -161,7 +161,7 @@ wait_until_test_finished(struct iscsi_context *iscsi, struct iscsi_async_state *
|
||||
state->finished = 1;
|
||||
state->status = SCSI_STATUS_CANCELLED;
|
||||
state->task->status = SCSI_STATUS_CANCELLED;
|
||||
/* this may leak memory since we dont free the pdu */
|
||||
/* this may leak memory since we don't free the pdu */
|
||||
while ((pdu = iscsi->outqueue)) {
|
||||
SLIST_REMOVE(&iscsi->outqueue, pdu);
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ void test_iscsi_cmdsn_toohigh(void)
|
||||
iscsic->target_max_recv_data_segment_length = block_size;
|
||||
local_iscsi_queue_pdu = my_iscsi_queue_pdu;
|
||||
change_cmdsn = 1;
|
||||
/* we dont want autoreconnect since some targets will incorrectly
|
||||
/* we don't want autoreconnect since some targets will incorrectly
|
||||
* drop the connection on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -58,7 +58,7 @@ void test_iscsi_cmdsn_toolow(void)
|
||||
iscsic->target_max_recv_data_segment_length = block_size;
|
||||
local_iscsi_queue_pdu = my_iscsi_queue_pdu;
|
||||
change_cmdsn = 1;
|
||||
/* we dont want autoreconnect since some targets will incorrectly
|
||||
/* we don't want autoreconnect since some targets will incorrectly
|
||||
* drop the connection on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -35,7 +35,7 @@ test_modesense6_residuals(void)
|
||||
|
||||
|
||||
logging(LOG_VERBOSE, "Try a MODESENSE6 command with 4 bytes of "
|
||||
"transfer length and verify that we dont get residuals.");
|
||||
"transfer length and verify that we don't get residuals.");
|
||||
if (task != NULL) {
|
||||
scsi_free_scsi_task(task);
|
||||
task = NULL;
|
||||
|
||||
@@ -51,7 +51,7 @@ test_read10_invalid(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -52,7 +52,7 @@ test_read10_residuals(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -47,7 +47,7 @@ test_read12_residuals(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -47,7 +47,7 @@ test_read16_residuals(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -55,7 +55,7 @@ test_write10_residuals(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -55,7 +55,7 @@ test_write12_residuals(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -55,7 +55,7 @@ test_write16_residuals(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -63,7 +63,7 @@ test_writeverify10_residuals(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -63,7 +63,7 @@ test_writeverify12_residuals(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
@@ -64,7 +64,7 @@ test_writeverify16_residuals(void)
|
||||
task->expxferlen = 0;
|
||||
|
||||
/*
|
||||
* we dont want autoreconnect since some targets will drop the session
|
||||
* we don't want autoreconnect since some targets will drop the session
|
||||
* on this condition.
|
||||
*/
|
||||
iscsi_set_noautoreconnect(iscsic, 1);
|
||||
|
||||
Reference in New Issue
Block a user