No public description PiperOrigin-RevId: 663899580 Change-Id: I8734b7d47e001655c7f126a1a1c1a34386266f96
diff --git a/cheriot/test/BUILD b/cheriot/test/BUILD index 6973ddb..de47f3a 100644 --- a/cheriot/test/BUILD +++ b/cheriot/test/BUILD
@@ -205,6 +205,7 @@ ], deps = [ "@com_google_absl//absl/debugging:leak_check", + "@com_google_absl//absl/log:check", "@com_google_absl//absl/strings", "@com_google_googletest//:gtest_main", ],
diff --git a/cheriot/test/librenode_mpact_cheriot_so_test.cc b/cheriot/test/librenode_mpact_cheriot_so_test.cc index 9496c20..15f06cb 100644 --- a/cheriot/test/librenode_mpact_cheriot_so_test.cc +++ b/cheriot/test/librenode_mpact_cheriot_so_test.cc
@@ -3,6 +3,7 @@ #include <string> #include "absl/debugging/leak_check.h" +#include "absl/log/check.h" #include "absl/strings/str_cat.h" #include "googlemock/include/gmock/gmock.h" @@ -10,7 +11,7 @@ constexpr char kFileName[] = "librenode_mpact_cheriot.so"; -constexpr char kDepotPath[] = "third_party/mpact_cheriot/"; +constexpr char kDepotPath[] = "cheriot/"; class LibRenodeMpactCheriotSoTest : public ::testing::Test { protected: @@ -18,6 +19,7 @@ std::string path = absl::StrCat(kDepotPath, kFileName); absl::LeakCheckDisabler disabler; // Ignore leaks from dlopen. lib_ = dlopen(path.c_str(), RTLD_LAZY); + CHECK_NE(lib_, nullptr); } ~LibRenodeMpactCheriotSoTest() { dlclose(lib_); }