| Index: native_client_sdk/src/tests/nacl_io_test/socket_test.cc
|
| diff --git a/native_client_sdk/src/tests/nacl_io_test/socket_test.cc b/native_client_sdk/src/tests/nacl_io_test/socket_test.cc
|
| index 70a02e0958dc797dd2746a758e0926a9e5236d8c..3b0eab30c93ca2c571997ad27b41c0bd771cb81f 100644
|
| --- a/native_client_sdk/src/tests/nacl_io_test/socket_test.cc
|
| +++ b/native_client_sdk/src/tests/nacl_io_test/socket_test.cc
|
| @@ -12,7 +12,6 @@
|
| #include <sys/stat.h>
|
|
|
| #include <map>
|
| -#include <string>
|
|
|
| #include "gmock/gmock.h"
|
| #include "gtest/gtest.h"
|
| @@ -260,17 +259,6 @@ TEST_F(SocketTest, Socketpair) {
|
| EXPECT_EQ(errno, EPROTONOSUPPORT);
|
| }
|
|
|
| -// These utility functions are only used for newlib (glibc provides its own
|
| -// implementations of these functions).
|
| -#if !defined(__GLIBC__)
|
| -
|
| -TEST(SocketUtilityFunctions, Hstrerror) {
|
| - EXPECT_STREQ(hstrerror(2718),
|
| - "Unknown error in gethostbyname: 2718.");
|
| -}
|
| -
|
| -#endif // !defined(__GLIBC__)
|
| -
|
| TEST(SocketUtilityFunctions, Htonl) {
|
| uint32_t host_long = 0x44332211;
|
| uint32_t network_long = htonl(host_long);
|
|
|