logd: test: disable kernel LOGGER

Bug: 15384806
Change-Id: I3072d6dd0618fa9ebe151c78a85eb121327f9df3
This commit is contained in:
Mark Salyzyn 2014-07-10 13:31:57 -07:00
parent 796fccb80d
commit 89472df4cd
1 changed files with 3 additions and 5 deletions

View File

@ -503,13 +503,11 @@ TEST(logd, both) {
(user_logger_content) ? yes : no,
(kernel_logger_available) ? yes : no,
(kernel_logger_content) ? yes : no,
(user_logger_available && kernel_logger_available) ? "WARNING" : "ok",
(user_logger_available && kernel_logger_available) ? "ERROR" : "ok",
(user_logger_content && kernel_logger_content) ? "ERROR" : "ok");
if (user_logger_available && kernel_logger_available) {
printf("WARNING: kernel & user logger; both consuming resources!!!\n");
}
EXPECT_EQ(0, user_logger_available && kernel_logger_available);
EXPECT_EQ(0, !user_logger_available && !kernel_logger_available);
EXPECT_EQ(0, user_logger_content && kernel_logger_content);
EXPECT_EQ(0, !user_logger_content && !kernel_logger_content);
}