Skip to content
Snippets Groups Projects
Commit c8ba8740 authored by Yang Tse's avatar Yang Tse
Browse files

test suite: libtest header inclusion cleanup

Added missing memoryTracking to test cases 560 and 583. If this triggers
leak detection on these, it only means that previously it was going unnoticed.
parent 46df51a3
No related branches found
No related tags found
No related merge requests found
Showing
with 6 additions and 87 deletions
......@@ -22,6 +22,7 @@
#include "test.h"
#include "testutil.h"
#include "warnless.h"
#include "memdebug.h"
#define MAIN_LOOP_HANG_TIMEOUT 90 * 1000
......
......@@ -21,8 +21,6 @@
***************************************************************************/
#include "test.h"
#include <sys/types.h>
#include "testutil.h"
#include "warnless.h"
#include "memdebug.h"
......
......@@ -21,8 +21,6 @@
***************************************************************************/
#include "test.h"
#include <sys/types.h>
#include "testutil.h"
#include "warnless.h"
#include "memdebug.h"
......
......@@ -24,12 +24,6 @@
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
......
......@@ -20,8 +20,6 @@
*
***************************************************************************/
#include "test.h"
#include <stdlib.h>
#include <ctype.h>
#include <curl/mprintf.h>
......
......@@ -21,9 +21,6 @@
***************************************************************************/
#include "test.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
......@@ -33,10 +30,8 @@
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include "warnless.h"
#include "memdebug.h"
#ifndef FD_SETSIZE
......
......@@ -21,8 +21,6 @@
***************************************************************************/
#include "test.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "testutil.h"
......
......@@ -40,8 +40,6 @@
#include "test.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "testutil.h"
......
......@@ -21,16 +21,6 @@
***************************************************************************/
#include "test.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include "testutil.h"
#include "warnless.h"
#include "memdebug.h"
......
......@@ -23,8 +23,6 @@
#include "test.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "testutil.h"
......
......@@ -21,8 +21,6 @@
***************************************************************************/
#include "test.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "testutil.h"
......
......@@ -21,9 +21,6 @@
***************************************************************************/
#include "test.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
......@@ -33,10 +30,8 @@
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include "warnless.h"
#include "memdebug.h"
#if !defined(HAVE_POLL_FINE) && \
......
......@@ -21,23 +21,10 @@
***************************************************************************/
#include "test.h"
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "memdebug.h"
/*
......
......@@ -21,23 +21,10 @@
***************************************************************************/
#include "test.h"
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "memdebug.h"
/*
......
......@@ -30,6 +30,7 @@
#include "test.h"
#include "testutil.h"
#include "warnless.h"
#include "memdebug.h"
#define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000
......
......@@ -22,6 +22,7 @@
#include "test.h"
#include "warnless.h"
#include "memdebug.h"
/*
* Simply download a HTTPS file!
......
......@@ -19,26 +19,12 @@
* KIND, either express or implied.
*
***************************************************************************/
#include "test.h"
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "memdebug.h"
/*
......
......@@ -19,11 +19,8 @@
* KIND, either express or implied.
*
***************************************************************************/
#include "test.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "testutil.h"
......
......@@ -19,7 +19,6 @@
* KIND, either express or implied.
*
***************************************************************************/
#include "test.h"
#include "memdebug.h"
......
......@@ -19,8 +19,8 @@
* KIND, either express or implied.
*
***************************************************************************/
#include "test.h"
#include "memdebug.h"
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment