@@ -64,7 +64,7 @@ test_compareandwrite_invalid_dataout_size(void)
|
||||
|
||||
|
||||
logging(LOG_VERBOSE, "Check too small DataOut");
|
||||
logging(LOG_VERBOSE, "COMPAREANDWRITE with DataOut==%ld (4 blocks) "
|
||||
logging(LOG_VERBOSE, "COMPAREANDWRITE with DataOut==%zd (4 blocks) "
|
||||
"and TL == 1 ", 4 * block_size);
|
||||
|
||||
new_tl = 1;
|
||||
@@ -74,7 +74,7 @@ test_compareandwrite_invalid_dataout_size(void)
|
||||
EXPECT_STATUS_GENERIC_BAD);
|
||||
|
||||
logging(LOG_VERBOSE, "Check too large DataOut");
|
||||
logging(LOG_VERBOSE, "COMPAREANDWRITE with DataOut==%ld (4 blocks) "
|
||||
logging(LOG_VERBOSE, "COMPAREANDWRITE with DataOut==%zd (4 blocks) "
|
||||
"and TL == 3 ", 4 * block_size);
|
||||
|
||||
new_tl = 2;
|
||||
|
||||
@@ -41,13 +41,13 @@ test_writesame10_invalid_dataout_size(void)
|
||||
memset(scratch, 0xa6, block_size);
|
||||
|
||||
logging(LOG_VERBOSE, "Check too small DataOut");
|
||||
logging(LOG_VERBOSE, "Unmap with DataOut==%ld (block_size==%ld)",
|
||||
logging(LOG_VERBOSE, "Unmap with DataOut==%zd (block_size==%zd)",
|
||||
block_size / 2, block_size);
|
||||
WRITESAME10(sd, 0, block_size / 2, 1, 0, 1, 0, 0, scratch,
|
||||
EXPECT_STATUS_GENERIC_BAD);
|
||||
|
||||
logging(LOG_VERBOSE, "Check too large DataOut");
|
||||
logging(LOG_VERBOSE, "Unmap with DataOut==%ld (block_size==%ld)",
|
||||
logging(LOG_VERBOSE, "Unmap with DataOut==%zd (block_size==%zd)",
|
||||
block_size * 2, block_size);
|
||||
WRITESAME10(sd, 0, block_size * 2, 1, 0, 1, 0, 0, scratch,
|
||||
EXPECT_STATUS_GENERIC_BAD);
|
||||
|
||||
@@ -41,13 +41,13 @@ test_writesame16_invalid_dataout_size(void)
|
||||
memset(scratch, 0xa6, block_size);
|
||||
|
||||
logging(LOG_VERBOSE, "Check too small DataOut");
|
||||
logging(LOG_VERBOSE, "Unmap with DataOut==%ld (block_size==%ld)",
|
||||
logging(LOG_VERBOSE, "Unmap with DataOut==%zd (block_size==%zd)",
|
||||
block_size / 2, block_size);
|
||||
WRITESAME16(sd, 0, block_size / 2, 1, 0, 1, 0, 0, scratch,
|
||||
EXPECT_STATUS_GENERIC_BAD);
|
||||
|
||||
logging(LOG_VERBOSE, "Check too large DataOut");
|
||||
logging(LOG_VERBOSE, "Unmap with DataOut==%ld (block_size==%ld)",
|
||||
logging(LOG_VERBOSE, "Unmap with DataOut==%zd (block_size==%zd)",
|
||||
block_size * 2, block_size);
|
||||
WRITESAME16(sd, 0, block_size * 2, 1, 0, 1, 0, 0, scratch,
|
||||
EXPECT_STATUS_GENERIC_BAD);
|
||||
|
||||
Reference in New Issue
Block a user