Merge branch 'master' of github.com:sahlberg/libiscsi
This commit is contained in:
@@ -44,6 +44,7 @@
|
|||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <sys/socket.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|||||||
@@ -57,6 +57,7 @@
|
|||||||
#include <sys/filio.h>
|
#include <sys/filio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <sys/uio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ test_inquiry_block_limits(void)
|
|||||||
1, SCSI_INQUIRY_PAGECODE_BLOCK_LIMITS,
|
1, SCSI_INQUIRY_PAGECODE_BLOCK_LIMITS,
|
||||||
64, &bl_task);
|
64, &bl_task);
|
||||||
CU_ASSERT_EQUAL(ret, 0);
|
CU_ASSERT_EQUAL(ret, 0);
|
||||||
|
if (ret != 0) {
|
||||||
|
logging(LOG_NORMAL, "[FAILURE] failed to send inquiry.");
|
||||||
|
goto finished;
|
||||||
|
}
|
||||||
|
|
||||||
bl = scsi_datain_unmarshall(bl_task);
|
bl = scsi_datain_unmarshall(bl_task);
|
||||||
if (bl == NULL) {
|
if (bl == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user