diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-10-20 15:24:21 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-10-20 15:24:21 -0400 |
commit | b0dccf883ad67e43b9fac5bc81f7b79bf9c07f8c (patch) | |
tree | e8949522f6341b5c04bd2683214fdfe70b69586b /indra | |
parent | afcccc3b36d96ababe61ca04dc6c9e02f4b20d81 (diff) |
skip() failing test rather than silently commenting out
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llmessage/tests/llhost_test.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/llmessage/tests/llhost_test.cpp b/indra/llmessage/tests/llhost_test.cpp index 4c9e75456a..e0c562dbf4 100644 --- a/indra/llmessage/tests/llhost_test.cpp +++ b/indra/llmessage/tests/llhost_test.cpp @@ -157,6 +157,7 @@ namespace tut template<> template<> void host_object::test<9>() { + skip("setHostByName(\"google.com\"); getHostName() -> (e.g.) \"yx-in-f100.1e100.net\""); std::string hostStr = "google.com"; LLHost host; host.setHostByName(hostStr); @@ -166,11 +167,6 @@ namespace tut // the main domain name and not do the exact compare std::string hostname = host.getHostName(); -/*==========================================================================*| - // nat 2009-10-20: not sure this ensure() is such a good idea, at - // least with "google.com". The logic below is failing for me with: - // set 'google.com'; reported 'yx-in-f100.1e100.net' - // Disabling test until we can replace it with something more robust. try { ensure("getHostName failed", hostname.find(hostStr) != std::string::npos); @@ -180,7 +176,6 @@ namespace tut std::cerr << "set '" << hostStr << "'; reported '" << hostname << "'" << std::endl; throw; } -|*==========================================================================*/ } // setHostByName for dotted IP |