TESTS: fixup the first-log-line of each test

This commit is contained in:
Ronnie Sahlberg
2013-01-15 18:31:18 -08:00
parent e6d2c0713c
commit a57ef69c8e
6 changed files with 12 additions and 6 deletions

View File

@@ -28,7 +28,8 @@ test_read10_0blocks(void)
{
int ret;
logging(LOG_VERBOSE, "\n Test READ10 0-blocks at LBA==0");
logging(LOG_VERBOSE, "");
logging(LOG_VERBOSE, "Test READ10 0-blocks at LBA==0");
ret = read10(iscsic, tgt_lun, 0, 0, block_size,
0, 0, 0, 0, 0, NULL);
CU_ASSERT_EQUAL(ret, 0);

View File

@@ -35,7 +35,8 @@ test_read10_beyond_eol(void)
}
logging(LOG_VERBOSE, "\n Test READ10 1-256 blocks one block beyond the end");
logging(LOG_VERBOSE, "");
logging(LOG_VERBOSE, "Test READ10 1-256 blocks one block beyond the end");
for (i = 1; i <= 256; i++) {
ret = read10_lbaoutofrange(iscsic, tgt_lun, num_blocks + 2 - i,
i * block_size, block_size,

View File

@@ -30,7 +30,8 @@ test_read10_flags(void)
{
int ret;
logging(LOG_VERBOSE, "\n Test READ10 flags");
logging(LOG_VERBOSE, "");
logging(LOG_VERBOSE, "Test READ10 flags");
/* This test is only valid for SBC devices */
if (device_type != SCSI_INQUIRY_PERIPHERAL_DEVICE_TYPE_DIRECT_ACCESS) {

View File

@@ -40,7 +40,8 @@ test_read10_rdprotect(void)
* Try out different non-zero values for RDPROTECT.
* They should all fail.
*/
logging(LOG_VERBOSE, "\n Test READ10 with non-zero RDPROTECT");
logging(LOG_VERBOSE, "");
logging(LOG_VERBOSE, "Test READ10 with non-zero RDPROTECT");
for (i = 1; i < 8; i++) {
ret = read10_invalidfieldincdb(iscsic, tgt_lun, 0,
block_size, block_size,

View File

@@ -32,7 +32,8 @@ test_read10_simple(void)
int i, ret;
logging(LOG_VERBOSE, "\n Test READ10 of 1-256 blocks at the start of the LUN");
logging(LOG_VERBOSE, "");
logging(LOG_VERBOSE, "Test READ10 of 1-256 blocks at the start of the LUN");
for (i = 1; i <= 256; i++) {
ret = read10(iscsic, tgt_lun, 0, i * block_size,
block_size, 0, 0, 0, 0, 0, NULL);

View File

@@ -28,7 +28,8 @@ test_testunitready_simple(void)
{
int ret;
logging(LOG_VERBOSE, "\n Test TESTUNITREADY");
logging(LOG_VERBOSE, "");
logging(LOG_VERBOSE, "Test TESTUNITREADY");
ret = testunitready(iscsic, tgt_lun);
CU_ASSERT_EQUAL(ret, 0);
}