am a9fc6a52: am b0b343d0: Merge "liblog: test: Send bionc\'s fatal logging to the crash log"
* commit 'a9fc6a52b9d0f891b6cff3d9df92f89a81f8f002': liblog: test: Send bionc's fatal logging to the crash log
This commit is contained in:
commit
5f7189b68e
|
@ -99,7 +99,7 @@ TEST(libc, __libc_fatal_no_abort) {
|
|||
pid_t pid = getpid();
|
||||
|
||||
ASSERT_TRUE(NULL != (logger_list = android_logger_list_open(
|
||||
(log_id_t)LOG_ID_MAIN, O_RDONLY | O_NDELAY, 1000, pid)));
|
||||
(log_id_t)LOG_ID_CRASH, O_RDONLY | O_NDELAY, 1000, pid)));
|
||||
|
||||
char b[80];
|
||||
struct timespec ts;
|
||||
|
@ -119,7 +119,7 @@ TEST(libc, __libc_fatal_no_abort) {
|
|||
|
||||
ASSERT_EQ(log_msg.entry.pid, pid);
|
||||
|
||||
if ((int)log_msg.id() != LOG_ID_MAIN) {
|
||||
if ((int)log_msg.id() != LOG_ID_CRASH) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue