Index: net/http/http_auth_gssapi_posix_unittest.cc |
diff --git a/net/http/http_auth_gssapi_posix_unittest.cc b/net/http/http_auth_gssapi_posix_unittest.cc |
index f4270e1c448e9fffe8aa82f69b93172859fba58d..f536ee8caa60bb30d65f3290fb6612e4e3cbc774 100644 |
--- a/net/http/http_auth_gssapi_posix_unittest.cc |
+++ b/net/http/http_auth_gssapi_posix_unittest.cc |
@@ -81,11 +81,13 @@ TEST(HttpAuthGSSAPIPOSIXTest, GSSAPIStartup) { |
EXPECT_TRUE(gssapi.get()->Init()); |
} |
+#if defined(DLOPEN_KERBEROS) |
TEST(HttpAuthGSSAPIPOSIXTest, GSSAPILoadCustomLibrary) { |
scoped_ptr<GSSAPILibrary> gssapi( |
new GSSAPISharedLibrary("/this/library/does/not/exist")); |
EXPECT_FALSE(gssapi.get()->Init()); |
} |
+#endif // defined(DLOPEN_KERBEROS) |
TEST(HttpAuthGSSAPIPOSIXTest, GSSAPICycle) { |
scoped_ptr<test::MockGSSAPILibrary> mock_library(new test::MockGSSAPILibrary); |