TESTS: Change all tests to use 'block_size' instead of hardcoded 512
This should allow the testst to work corectly on block devices with 4k blocksize too.
This commit is contained in:
@@ -28,7 +28,7 @@ int T0390_mandatory_opcodes_sbc(const char *initiator, const char *url, int data
|
||||
struct scsi_readcapacity16 *rc16;
|
||||
struct scsi_inquiry_standard *inq;
|
||||
int ret = 0, lun, sccs, encserv, lbpme;
|
||||
unsigned char data[2048];
|
||||
unsigned char data[4096];
|
||||
uint32_t block_size;
|
||||
int full_size;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user