TESTS: Change INQ alloc_len test to also test the case where alloc_len is 0

This commit is contained in:
Ronnie Sahlberg
2012-09-19 18:25:07 -07:00
parent 8f98cf3e12
commit f5d8b61397

View File

@@ -51,7 +51,7 @@ int T0401_inquiry_alloclen(const char *initiator, const char *url, int data_loss
printf("Test INQUIRY with alloclen 0-255 ... ");
for (i = 1; i < 256; i++) {
for (i = 0; i < 256; i++) {
task = iscsi_inquiry_sync(iscsi, lun, 0, 0, i);
if (task == NULL) {
printf("[FAILED]\n");