Tests: convert tabs to 8 spaces
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
@@ -30,28 +30,28 @@
|
||||
void
|
||||
test_sanitize_invalid_serviceaction(void)
|
||||
{
|
||||
int i;
|
||||
int i;
|
||||
|
||||
logging(LOG_VERBOSE, LOG_BLANK_LINE);
|
||||
logging(LOG_VERBOSE, "Test SANITIZE for invalid serviceactions");
|
||||
logging(LOG_VERBOSE, LOG_BLANK_LINE);
|
||||
logging(LOG_VERBOSE, "Test SANITIZE for invalid serviceactions");
|
||||
|
||||
CHECK_FOR_SANITIZE;
|
||||
CHECK_FOR_SANITIZE;
|
||||
|
||||
logging(LOG_VERBOSE, "Test all invalid service actions and make sure "
|
||||
"they fail with an error");
|
||||
for (i = 0; i <= 0x1f; i++) {
|
||||
switch (i) {
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
case 0x1f:
|
||||
continue;
|
||||
}
|
||||
logging(LOG_VERBOSE, "Test all invalid service actions and make sure "
|
||||
"they fail with an error");
|
||||
for (i = 0; i <= 0x1f; i++) {
|
||||
switch (i) {
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
case 0x1f:
|
||||
continue;
|
||||
}
|
||||
|
||||
logging(LOG_VERBOSE, "Verify that ServiceAction:0x%02d is "
|
||||
"an error.", i);
|
||||
logging(LOG_VERBOSE, "Verify that ServiceAction:0x%02d is "
|
||||
"an error.", i);
|
||||
|
||||
SANITIZE(sd, 0, 0, i, 0, NULL,
|
||||
SANITIZE(sd, 0, 0, i, 0, NULL,
|
||||
EXPECT_INVALID_FIELD_IN_CDB);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user