summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/tests/test_bufferarray.hpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-05-07 15:16:31 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-05-07 15:16:31 -0400
commit74d59e7128bb02a4b49af99e44f437a736a3f62b (patch)
tree5a5b750b47a55e8a378a871eb278d0bb8425b5c4 /indra/llcorehttp/tests/test_bufferarray.hpp
parent438a6431e418eac5a3a4e00f7adfe379994869d7 (diff)
Build llcorehttp as part of a viewer dependency with unit tests. This required
boost::thread and the easiest path to that was to go with the 1.48 Boost release in the 3P tree (eliminating a fork for a modified 1.45 packaging). One unit test, the most important one, is failing in test_httprequest but that can be attended to later. This test issues a GET to http://localhost:2/ and that is hitting the wire but the libcurl plumbing isn't delivering the failure, only the eventual timeout. An unexpected change in behavior.
Diffstat (limited to 'indra/llcorehttp/tests/test_bufferarray.hpp')
-rw-r--r--indra/llcorehttp/tests/test_bufferarray.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llcorehttp/tests/test_bufferarray.hpp b/indra/llcorehttp/tests/test_bufferarray.hpp
index 4f5d0284a1..ecbb5ef250 100644
--- a/indra/llcorehttp/tests/test_bufferarray.hpp
+++ b/indra/llcorehttp/tests/test_bufferarray.hpp
@@ -26,7 +26,7 @@
#ifndef TEST_LLCORE_BUFFER_ARRAY_H_
#define TEST_LLCORE_BUFFER_ARRAY_H_
-#include <core-http/bufferarray.h>
+#include "bufferarray.h"
#include <iostream>
@@ -183,7 +183,6 @@ void BufferArrayTestObjectType::test<4>()
char str1[] = "abcdefghij";
size_t str1_len(strlen(str1));
char str2[] = "ABCDEFGHIJ";
- size_t str2_len(strlen(str2));
char buffer[256];
size_t len = ba->write(str1, str1_len);