diff options
author | Tamir Duberstein <tamird@google.com> | 2019-04-26 12:46:14 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-26 12:47:46 -0700 |
commit | 59442238d4d9e48433cd0601ffa53e280fb872bc (patch) | |
tree | 0857202d3ffeb4255d872507c4e6baf9329e4a1e /test/syscalls/linux/socket_netlink_route.cc | |
parent | 5f13338d30fb59241cf7f1aa6374c54c69677314 (diff) |
Remove syscall tests' dependency on glog
PiperOrigin-RevId: 245469859
Change-Id: I0610e477cc3a884275852e83028ecfb501f2c039
Diffstat (limited to 'test/syscalls/linux/socket_netlink_route.cc')
-rw-r--r-- | test/syscalls/linux/socket_netlink_route.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/syscalls/linux/socket_netlink_route.cc b/test/syscalls/linux/socket_netlink_route.cc index fa895d841..50943d384 100644 --- a/test/syscalls/linux/socket_netlink_route.cc +++ b/test/syscalls/linux/socket_netlink_route.cc @@ -18,6 +18,8 @@ #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> + +#include <iostream> #include <vector> #include "gtest/gtest.h" @@ -210,7 +212,7 @@ TEST(NetlinkRouteTest, GetLinkDump) { ASSERT_GE(hdr->nlmsg_len, NLMSG_SPACE(sizeof(struct ifinfomsg))); const struct ifinfomsg* msg = reinterpret_cast<const struct ifinfomsg*>(NLMSG_DATA(hdr)); - LOG(INFO) << "Found interface idx=" << msg->ifi_index + std::cout << "Found interface idx=" << msg->ifi_index << ", type=" << std::hex << msg->ifi_type; if (msg->ifi_type == ARPHRD_LOOPBACK) { loopbackFound = true; |