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

Commit caa9117b authored by Tom Cherry's avatar Tom Cherry Committed by Automerger Merge Worker
Browse files

Merge changes I5b3ca4f0,I610bed59 am: c9412363 am: b24d24e4

Change-Id: I226a516f3e041e3836553a6b7ebefb77d09f55d7
parents 429a7376 b24d24e4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ cc_defaults {
    ],
    static_libs: ["liblog"],
    isolated: true,
    require_root: true,
}

// Build tests for the device (with .so). Run with:
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,10 @@ using android::base::unique_fd;
// socket.  This tests for that behavior.
TEST(liblog, multi_connect_dgram_socket) {
#ifdef __ANDROID__
  if (getuid() != 0) {
    GTEST_SKIP() << "Skipping test, must be run as root.";
    return;
  }
  auto temp_dir = TemporaryDir();
  auto socket_path = StringPrintf("%s/test_socket", temp_dir.path);