Merge branch 'master' of github.com:sahlberg/libiscsi

This commit is contained in:
Ronnie Sahlberg
2013-10-14 06:16:31 -07:00
3 changed files with 6 additions and 0 deletions

View File

@@ -44,6 +44,7 @@
#include <strings.h>
#endif
#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>

View File

@@ -57,6 +57,7 @@
#include <sys/filio.h>
#endif
#include <sys/uio.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View File

@@ -43,6 +43,10 @@ test_inquiry_block_limits(void)
1, SCSI_INQUIRY_PAGECODE_BLOCK_LIMITS,
64, &bl_task);
CU_ASSERT_EQUAL(ret, 0);
if (ret != 0) {
logging(LOG_NORMAL, "[FAILURE] failed to send inquiry.");
goto finished;
}
bl = scsi_datain_unmarshall(bl_task);
if (bl == NULL) {