TESTS-CU: Indent the verbose logging by 4 spaces

This commit is contained in:
Ronnie Sahlberg
2013-01-14 06:39:25 -08:00
parent 0f9d8d0617
commit e6d2c0713c
7 changed files with 7 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ void logging(int level, const char *format, ...)
return;
}
printf("%s\n", message);
printf(" %s\n", message);
}

View File

@@ -28,7 +28,7 @@ test_read10_0blocks(void)
{
int ret;
logging(LOG_VERBOSE, "\nTest READ10 0-blocks at LBA==0");
logging(LOG_VERBOSE, "\n 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,7 @@ test_read10_beyond_eol(void)
}
logging(LOG_VERBOSE, "\nTest READ10 1-256 blocks one block beyond the end");
logging(LOG_VERBOSE, "\n 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,7 @@ test_read10_flags(void)
{
int ret;
logging(LOG_VERBOSE, "\nTest READ10 flags");
logging(LOG_VERBOSE, "\n 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,7 @@ test_read10_rdprotect(void)
* Try out different non-zero values for RDPROTECT.
* They should all fail.
*/
logging(LOG_VERBOSE, "\nTest READ10 with non-zero RDPROTECT");
logging(LOG_VERBOSE, "\n 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,7 @@ test_read10_simple(void)
int i, ret;
logging(LOG_VERBOSE, "\nTest READ10 of 1-256 blocks at the start of the LUN");
logging(LOG_VERBOSE, "\n 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,7 @@ test_testunitready_simple(void)
{
int ret;
logging(LOG_VERBOSE, "\nTest TESTUNITREADY");
logging(LOG_VERBOSE, "\n Test TESTUNITREADY");
ret = testunitready(iscsic, tgt_lun);
CU_ASSERT_EQUAL(ret, 0);
}