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:
@@ -27,7 +27,7 @@ int T0231_write12_wrprotect(const char *initiator, const char *url, int data_los
|
||||
struct scsi_readcapacity16 *rc16;
|
||||
int ret = 0, i, lun;
|
||||
uint32_t block_size;
|
||||
unsigned char data[256 * 512];
|
||||
unsigned char data[4096];
|
||||
|
||||
printf("0231_write12_wrprotect:\n");
|
||||
printf("======================\n");
|
||||
|
||||
Reference in New Issue
Block a user