summaryrefslogtreecommitdiff
path: root/indra/llmessage/tests/llhost_test.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-10-22 10:37:57 -0400
committerNat Goodspeed <nat@lindenlab.com>2009-10-22 10:37:57 -0400
commit0dce9862d20bf691d97114fc977521a499824569 (patch)
treee1fcee0786052862b444d52b00ccb6b9b72b7600 /indra/llmessage/tests/llhost_test.cpp
parent4c4da8aca2944c2992d4ae0e13e72b9c6c0aa84f (diff)
Fix broken test compile.
It looks as though someone tried to reactivate the skip()ped test by replacing "google.com" with "linux.org" and deleting the skip() call. Unfortunately the edit went wrong: the instance of "google.com" in the skip() call was replaced, and the line declaring hostStr = "google.com" was deleted. Removing the local hostStr variable broke the compile. (Possible merge glitch?) On the above assumption, I commented out the skip() call, reinstated the hostStr declaration and replaced "google.com" with "linux.org" therein.
Diffstat (limited to 'indra/llmessage/tests/llhost_test.cpp')
-rw-r--r--indra/llmessage/tests/llhost_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llmessage/tests/llhost_test.cpp b/indra/llmessage/tests/llhost_test.cpp
index f7e7eee88b..7e5c3a117b 100644
--- a/indra/llmessage/tests/llhost_test.cpp
+++ b/indra/llmessage/tests/llhost_test.cpp
@@ -157,7 +157,8 @@ namespace tut
template<> template<>
void host_object::test<9>()
{
- skip("setHostByName(\"linux.org\"); getHostName() -> (e.g.) \"yx-in-f100.1e100.net\"");
+// skip("setHostByName(\"google.com\"); getHostName() -> (e.g.) \"yx-in-f100.1e100.net\"");
+ std::string hostStr = "linux.org";
LLHost host;
host.setHostByName(hostStr);