Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a06e0e06 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge "liblog: test: CTS: enoent does not qualify" am: 34cfb3cb am: 89df1a12

am: 65e4eaa2

Change-Id: Ifb79cbd529edde0c261af39d8b3890d86f82d89c
parents 68b95f93 65e4eaa2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1720,6 +1720,7 @@ TEST(liblog, is_loggable) {
// Kills logd and toss all collected data, equivalent to logcat -b all -c,
// except we also return errors to the logging callers.
#ifdef USING_LOGGER_DEFAULT
#ifdef __ANDROID__
#ifdef TEST_PREFIX
// helper to liblog.enoent to count end-to-end matching logging messages.
static int count_matching_ts(log_time ts) {
@@ -1832,7 +1833,8 @@ TEST(liblog, enoent) {
  GTEST_LOG_(INFO) << "This test does nothing.\n";
#endif
}
#endif  // USING_LOCAL_LOGD
#endif  // __ANDROID__
#endif  // USING_LOGGER_DEFAULT

// Below this point we run risks of setuid(AID_SYSTEM) which may affect others.