diff --git a/tests/data/test2502 b/tests/data/test2502
index aae65e1cc1..d20771a6f3 100644
--- a/tests/data/test2502
+++ b/tests/data/test2502
@@ -92,10 +92,10 @@ Via: 3 nghttpx
^Host:.*
-* Connection #0 to host localhost left intact
-* Connection #0 to host localhost left intact
-* Connection #0 to host localhost left intact
-* Connection #0 to host localhost left intact
+== Info: Connection #0 to host localhost left intact
+== Info: Connection #0 to host localhost left intact
+== Info: Connection #0 to host localhost left intact
+== Info: Connection #0 to host localhost left intact
$_ = '' if (($_ !~ /left intact/) && ($_ !~ /Closing connection/))
diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc
index 948d9f76d5..82131db26d 100644
--- a/tests/libtest/Makefile.inc
+++ b/tests/libtest/Makefile.inc
@@ -692,7 +692,7 @@ lib2404_LDADD = $(TESTUTIL_LIBS)
lib2405_SOURCES = lib2405.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
lib2405_LDADD = $(TESTUTIL_LIBS)
-lib2502_SOURCES = lib2502.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
+lib2502_SOURCES = lib2502.c $(SUPPORTFILES) $(TESTUTIL) $(TSTTRACE) $(WARNLESS)
lib2502_LDADD = $(TESTUTIL_LIBS)
lib3010_SOURCES = lib3010.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
diff --git a/tests/libtest/lib2502.c b/tests/libtest/lib2502.c
index eaaff258ad..f01fbe0c5c 100644
--- a/tests/libtest/lib2502.c
+++ b/tests/libtest/lib2502.c
@@ -23,6 +23,7 @@
***************************************************************************/
#include "test.h"
+#include "testtrace.h"
#include "testutil.h"
#include "warnless.h"
#include "memdebug.h"
@@ -80,6 +81,10 @@ CURLcode test(char *URL)
/* wait for first connection established to see if we can share it */
easy_setopt(curl[i], CURLOPT_PIPEWAIT, 1L);
/* go verbose */
+ libtest_debug_config.nohex = 1;
+ libtest_debug_config.tracetime = 0;
+ test_setopt(curl[i], CURLOPT_DEBUGDATA, &libtest_debug_config);
+ easy_setopt(curl[i], CURLOPT_DEBUGFUNCTION, libtest_debug_cb);
easy_setopt(curl[i], CURLOPT_VERBOSE, 1L);
/* include headers */
easy_setopt(curl[i], CURLOPT_HEADER, 1L);