mirror of
https://github.com/curl/curl.git
synced 2026-07-11 18:57:16 +03:00
parent
36a3cd5374
commit
2636828eee
108 changed files with 11 additions and 215 deletions
|
|
@ -38,9 +38,6 @@ extern const struct entry_s s_entries[];
|
|||
|
||||
#include "curlx.h"
|
||||
|
||||
#include <stdlib.h> /* for calloc(), free(), strtol() */
|
||||
#include <string.h> /* for strchr(), strcmp() */
|
||||
|
||||
#define ERR() \
|
||||
do { \
|
||||
curl_mfprintf(stderr, "something unexpected went wrong - bailing out!\n");\
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@
|
|||
*/
|
||||
#include "first.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
static void usage_h2_pausing(const char *msg)
|
||||
{
|
||||
if(msg)
|
||||
|
|
|
|||
|
|
@ -24,12 +24,10 @@
|
|||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h> /* for setlocale() */
|
||||
#include <locale.h> /* for setlocale() */
|
||||
#endif
|
||||
|
||||
#include "memdebug.h"
|
||||
#include "curlx/timediff.h"
|
||||
#include "curlx/binmode.h"
|
||||
|
||||
int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc,
|
||||
struct timeval *tv)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t1485_transfer_status {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1500(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1501(char *URL)
|
||||
|
|
|
|||
|
|
@ -31,9 +31,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1502(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1506(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "timediff.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1508(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
size_t WriteOutput(char *ptr, size_t size, size_t nmemb, void *stream);
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1510(char *URL)
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define DNS_TIMEOUT 1L
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
/* test case and code based on https://github.com/curl/curl/issues/2847 */
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static int sockopt_callback(void *clientp, curl_socket_t curlfd,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
/* test case and code based on https://github.com/curl/curl/issues/3927 */
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static int dload_progress_cb(void *a, curl_off_t b, curl_off_t c,
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "timediff.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1531(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t1540_transfer_status {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t1541_transfer_status {
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "testtrace.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1552(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "testtrace.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct headerinfo {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1557(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1558(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1559(char *URL)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#define USE_IDN
|
||||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h" /* LAST include file */
|
||||
|
||||
static int checkparts(CURLU *u, const char *in, const char *wanted,
|
||||
|
|
|
|||
|
|
@ -23,12 +23,10 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define CONN_NUM 3
|
||||
#define TIME_BETWEEN_START_SECS 2
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1568(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1569(char *URL)
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
static size_t consumed = 0;
|
||||
|
|
|
|||
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
static CURLcode test_lib1592(char *URL)
|
||||
{
|
||||
int stillRunning;
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
|
||||
static CURLcode test_lib1599(char *URL)
|
||||
{
|
||||
CURL *curl;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1900(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static size_t t1901_read_cb(char *ptr, size_t size, size_t nmemb, void *stream)
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "timediff.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1903(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "timediff.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1905(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1906(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1907(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1908(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1910(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/* The maximum string length limit (CURL_MAX_INPUT_LENGTH) is an internal
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define print_err(name, exp) \
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1913(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct state {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1918(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1919(char *URL)
|
||||
|
|
|
|||
|
|
@ -28,9 +28,6 @@
|
|||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#ifndef _WIN32
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1977(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,10 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define MAX_EASY_HANDLES 3
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
|
||||
static CURLcode test_lib2306(char *URL)
|
||||
{
|
||||
/* first a fine GET response, then a bad one */
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
|
||||
static size_t cb_curl(char *buffer, size_t size, size_t nmemb, void *userp)
|
||||
{
|
||||
(void)buffer;
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
|
||||
static size_t cb_ignore(char *buffer, size_t size, size_t nmemb, void *userp)
|
||||
{
|
||||
(void)buffer;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib2402(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib2404(char *URL)
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib2502(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
|
||||
#define NUM_THREADS 100
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
@ -101,7 +99,6 @@ cleanup:
|
|||
|
||||
#elif defined(HAVE_PTHREAD_H)
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static void *t3026_run_thread(void *ptr)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib3027(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib3105(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,11 +23,8 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32)
|
||||
#if defined(USE_THREADS_POSIX)
|
||||
#include <pthread.h>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib3208(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,10 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib507(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* This test uses these funny custom memory callbacks for the only purpose
|
||||
* of verifying that curl_global_init_mem() functionality is present in
|
||||
|
|
|
|||
|
|
@ -23,10 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
|
|
@ -481,7 +477,7 @@ static CURLcode test_lib518(char *URL)
|
|||
{
|
||||
(void)URL;
|
||||
curl_mprintf("system lacks necessary system function(s)");
|
||||
return 1; /* skip test */
|
||||
return TEST_ERR_MAJOR_BAD; /* skip test */
|
||||
}
|
||||
|
||||
#endif /* defined(HAVE_GETRLIMIT) && defined(HAVE_SETRLIMIT) */
|
||||
|
|
|
|||
|
|
@ -23,9 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib525(char *URL)
|
||||
|
|
|
|||
|
|
@ -42,9 +42,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib526(char *URL)
|
||||
|
|
|
|||
|
|
@ -30,8 +30,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,9 +25,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib533(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,10 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
|
|
@ -195,7 +191,7 @@ static int t537_test_rlimit(int keep_open)
|
|||
* avoid a low memory condition once the file descriptors are
|
||||
* open. System conditions that could make the test fail should
|
||||
* be addressed in the precheck phase. This chunk of memory shall
|
||||
* be always free()ed before exiting the test_rlimit() function so
|
||||
* be always free()ed before exiting the t537_test_rlimit() function so
|
||||
* that it becomes available to the test.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define PROXY libtest_arg2
|
||||
|
|
|
|||
|
|
@ -23,10 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,10 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static const char uploadthis[] = "this is the blurb we want to upload\n";
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h> /* for setlocale() */
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib559(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,10 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,9 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib564(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,13 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,19 +24,13 @@
|
|||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
# include <netinet/in.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_NETDB_H
|
||||
# include <netdb.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
# include <sys/stat.h>
|
||||
#endif
|
||||
#ifdef HAVE_FCNTL_H
|
||||
# include <fcntl.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
|
|
|
|||
|
|
@ -23,13 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "first.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,9 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/* 3x download!
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct chunk_data {
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t582_Sockets {
|
||||
|
|
|
|||
|
|
@ -28,8 +28,6 @@
|
|||
|
||||
#include "first.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib583(char *URL)
|
||||
|
|
|
|||
|
|
@ -21,15 +21,10 @@
|
|||
* SPDX-License-Identifier: curl
|
||||
*
|
||||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
/* lib591 is used for test cases 591, 592, 593 and 594 */
|
||||
|
||||
#include <limits.h>
|
||||
#include "first.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib591(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,9 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib653(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
#define PAUSE_TIME 5
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib677(char *URL)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "first.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static int loadfile(const char *filename, void **filedata, size_t *filesize)
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue