aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib573.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/lib573.c
parenta752850acc4fda72a36fdc53d5d5b7c6da5693c0 (diff)
tests: enable time tracing on tests 500, 573 and 585
Diffstat (limited to 'tests/libtest/lib573.c')
-rw-r--r--tests/libtest/lib573.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/libtest/lib573.c b/tests/libtest/lib573.c
index 50aedfa6c..b49d26a5d 100644
--- a/tests/libtest/lib573.c
+++ b/tests/libtest/lib573.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 "testutil.h"
#include "warnless.h"
#include "memdebug.h"
@@ -54,6 +55,12 @@ int test(char *URL)
easy_setopt(c, CURLOPT_HEADER, 1L);
easy_setopt(c, CURLOPT_URL, URL);
+ libtest_debug_config.nohex = 1;
+ libtest_debug_config.tracetime = 1;
+ easy_setopt(c, CURLOPT_DEBUGDATA, &libtest_debug_config);
+ easy_setopt(c, CURLOPT_DEBUGFUNCTION, libtest_debug_cb);
+ easy_setopt(c, CURLOPT_VERBOSE, 1L);
+
multi_init(m);
multi_add_handle(m, c);