aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib500.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-01-17 21:33:17 +0100
committerYang Tse <yangsita@gmail.com>2012-01-17 21:33:17 +0100
commit24526d0c0f4209eb77c807afdb15da301c7d021b (patch)
treebeb9c31ab950b5a4a7592d2cfd7fd122db53a763 /tests/libtest/lib500.c
parenta752850acc4fda72a36fdc53d5d5b7c6da5693c0 (diff)
tests: enable time tracing on tests 500, 573 and 585
Diffstat (limited to 'tests/libtest/lib500.c')
-rw-r--r--tests/libtest/lib500.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/libtest/lib500.c b/tests/libtest/lib500.c
index 109312b37..dda1d7f42 100644
--- a/tests/libtest/lib500.c
+++ b/tests/libtest/lib500.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -21,6 +21,7 @@
***************************************************************************/
#include "test.h"
+#include "testtrace.h"
#include "memdebug.h"
#ifdef LIB585
@@ -76,6 +77,12 @@ int test(char *URL)
test_setopt(curl, CURLOPT_URL, URL);
test_setopt(curl, CURLOPT_HEADER, 1L);
+ libtest_debug_config.nohex = 1;
+ libtest_debug_config.tracetime = 1;
+ test_setopt(curl, CURLOPT_DEBUGDATA, &libtest_debug_config);
+ test_setopt(curl, CURLOPT_DEBUGFUNCTION, libtest_debug_cb);
+ test_setopt(curl, CURLOPT_VERBOSE, 1L);
+
if(libtest_arg3 && !strcmp(libtest_arg3, "activeftp"))
test_setopt(curl, CURLOPT_FTPPORT, "-");