mirror of
https://github.com/curl/curl.git
synced 2026-07-24 18:27:20 +03:00
parent
8e65877870
commit
f7df67cff0
92 changed files with 165 additions and 165 deletions
|
|
@ -21,7 +21,7 @@ commonName_value = localhost
|
|||
|
||||
[something]
|
||||
# The key
|
||||
# the certficate
|
||||
# the certificate
|
||||
# some dhparam
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICXgIBAAKBgQC6X0tpdDGZTfS0typluLcxwTjPNje7XhjjUh9SqlolLwxmiDKw
|
||||
|
|
|
|||
|
|
@ -21,5 +21,5 @@ commonName_value = localhost
|
|||
|
||||
[something]
|
||||
# The key
|
||||
# the certficate
|
||||
# the certificate
|
||||
# some dhparam
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ commonName_value = localhost.nn
|
|||
|
||||
[something]
|
||||
# The key
|
||||
# the certficate
|
||||
# the certificate
|
||||
# some dhparam
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICXQIBAAKBgQCszBFwdCntewBEisBHA1Cdb1G3yXvdfu4pZ1uRm8fF5p1ZPmsz
|
||||
|
|
|
|||
|
|
@ -21,5 +21,5 @@ commonName_value = localhost.nn
|
|||
|
||||
[something]
|
||||
# The key
|
||||
# the certficate
|
||||
# the certificate
|
||||
# some dhparam
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ if [ ".$CAPREFIX" = . ] ; then
|
|||
NOTOK=1
|
||||
else
|
||||
if [ ! -f $CAPREFIX-ca.cacert ] ; then
|
||||
echo No CA certficate file $CAPREFIX-ca.caert
|
||||
echo No CA certificate file $CAPREFIX-ca.caert
|
||||
NOTOK=1
|
||||
fi
|
||||
if [ ! -f $CAPREFIX-ca.key ] ; then
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# test 1801 causes problems on Mac OS X and github
|
||||
# https://github.com/curl/curl/issues/380
|
||||
1801
|
||||
# test 1510 casues problems on the CI on github
|
||||
# test 1510 causes problems on the CI on github
|
||||
# example: https://travis-ci.org/curl/curl/builds/81633600
|
||||
1510
|
||||
# Pipelining test that is causing false positives a little too often
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ http
|
|||
</server>
|
||||
|
||||
<name>
|
||||
HTTP GET with 4-digit reponse code
|
||||
HTTP GET with 4-digit response code
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/1429 --write-out '%{response_code}'
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ Funny-head: yesyes
|
|||
http
|
||||
</server>
|
||||
<name>
|
||||
HTTP GET with negative reponse code
|
||||
HTTP GET with negative response code
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/1430
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ Funny-head: yesyes
|
|||
http
|
||||
</server>
|
||||
<name>
|
||||
HTTP GET with single-digit reponse code
|
||||
HTTP GET with single-digit response code
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/1431
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ http
|
|||
</server>
|
||||
|
||||
<name>
|
||||
HTTP GET with 100-digit reponse code and survive
|
||||
HTTP GET with 100-digit response code and survive
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/1432
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ http://%HOSTIP:%HTTPPORT/554
|
|||
s/^--------------------------[a-z0-9]*/------------------------------/
|
||||
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
|
||||
</strippart>
|
||||
# Note that the stripping above removes 12 bytes from every occurance of the
|
||||
# Note that the stripping above removes 12 bytes from every occurrence of the
|
||||
# boundary string and since 5 of them are in the body contents, we see
|
||||
# (5*12) == 60 bytes less
|
||||
<protocol>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<testcase>
|
||||
# NOTE: this test case is a duplicate of 547 but the tool is built to use the
|
||||
# multi interface instead of easy, but that shouldn't be noticable at all in
|
||||
# multi interface instead of easy, but that shouldn't be noticeable at all in
|
||||
# this file!
|
||||
<info>
|
||||
<keywords>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ IMAP OAuth 2.0 (OAUTHBEARER) authentication
|
|||
<command>
|
||||
'imap://%HOSTIP:%IMAPPORT/842/;UID=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%IMAPPORT' ne '9003' );"
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response
|
|||
<command>
|
||||
'imap://%HOSTIP:%IMAPPORT/843/;UID=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%IMAPPORT' ne '9003' );"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation
|
|||
<command>
|
||||
'imap://%HOSTIP:%IMAPPORT/844/;UID=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%IMAPPORT' ne '9003' );"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response
|
|||
<command>
|
||||
'imap://%HOSTIP:%IMAPPORT/845/;UID=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%IMAPPORT' ne '9003' );"
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ POP3 OAuth 2.0 (OAUTHBEARER) authentication
|
|||
<command>
|
||||
pop3://%HOSTIP:%POP3PORT/887 -u user --oauth2-bearer mF_9.B5f-4.1JqM
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%POP3PORT' ne '9001' );"
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response
|
|||
<command>
|
||||
pop3://%HOSTIP:%POP3PORT/888 -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%POP3PORT' ne '9001' );"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation
|
|||
<command>
|
||||
pop3://%HOSTIP:%POP3PORT/889 -u user --oauth2-bearer mF_9.B5f-4.1JqM
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%POP3PORT' ne '9001' );"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response
|
|||
<command>
|
||||
pop3://%HOSTIP:%POP3PORT/890 -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%POP3PORT' ne '9001' );"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ mail body
|
|||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/946 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM -T -
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%SMTPPORT' ne '9005' );"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ mail body
|
|||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/947 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%SMTPPORT' ne '9005' );"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ mail body
|
|||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/948 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM -T -
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%SMTPPORT' ne '9005' );"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ mail body
|
|||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/949 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
|
||||
</command>
|
||||
# The protocol section doesn't support ways of specifing the raw data in the
|
||||
# The protocol section doesn't support ways of specifying the raw data in the
|
||||
# base64 encoded message so we must assert this
|
||||
<precheck>
|
||||
perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%SMTPPORT' ne '9005' );"
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ my $verbose = 0; # set to 1 for debugging
|
|||
my $port = 8990; # just a default
|
||||
my $unix_socket; # location to place a listening Unix socket
|
||||
my $ipvnum = 4; # default IP version of http server
|
||||
my $idnum = 1; # dafault http server instance number
|
||||
my $idnum = 1; # default http server instance number
|
||||
my $proto = 'http'; # protocol the http server speaks
|
||||
my $pidfile; # http server pid file
|
||||
my $logfile; # http server log file
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 1998 - 2017, 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
|
||||
|
|
@ -66,7 +66,7 @@ SUPPORTFILES_LIBS = $(top_builddir)/lib/libcurl.la @CURL_NETWORK_LIBS@ @NSS_LIBS
|
|||
TESTUTIL_LIBS = $(top_builddir)/lib/libcurl.la @CURL_NETWORK_AND_TIME_LIBS@ @NSS_LIBS@
|
||||
endif
|
||||
|
||||
# Dependencies (may need to be overriden)
|
||||
# Dependencies (may need to be overridden)
|
||||
LDADD = $(SUPPORTFILES_LIBS)
|
||||
|
||||
# Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2017, 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
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
/*
|
||||
* This test uses these funny custom memory callbacks for the only purpose
|
||||
* of verifying that curl_global_init_mem() functionallity is present in
|
||||
* of verifying that curl_global_init_mem() functionality is present in
|
||||
* libcurl and that it works unconditionally no matter how libcurl is built,
|
||||
* nothing more.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2017, 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
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
* controlling the small differences.
|
||||
*
|
||||
* - lib526 closes all easy handles after
|
||||
* they all have transfered the file over the single connection
|
||||
* they all have transferred the file over the single connection
|
||||
* - lib527 closes each easy handle after each single transfer.
|
||||
* - lib532 uses only a single easy handle that is removed, reset and then
|
||||
* re-added for each transfer
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 1998 - 2017, 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
|
||||
|
|
@ -37,7 +37,7 @@ use serverhelp qw(
|
|||
my $verbose = 0; # set to 1 for debugging
|
||||
my $port = 8990; # just a default
|
||||
my $ipvnum = 4; # default IP version of rtsp server
|
||||
my $idnum = 1; # dafault rtsp server instance number
|
||||
my $idnum = 1; # default rtsp server instance number
|
||||
my $proto = 'rtsp'; # protocol the rtsp server speaks
|
||||
my $pidfile; # rtsp server pid file
|
||||
my $logfile; # rtsp server log file
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 1998 - 2017, 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
|
||||
|
|
@ -63,7 +63,7 @@ my $pidfile; # stunnel pid file
|
|||
my $logfile; # stunnel log file
|
||||
my $loglevel = 5; # stunnel log level
|
||||
my $ipvnum = 4; # default IP version of stunneled server
|
||||
my $idnum = 1; # dafault stunneled server instance number
|
||||
my $idnum = 1; # default stunneled server instance number
|
||||
my $proto = 'https'; # default secure server protocol
|
||||
my $conffile; # stunnel configuration file
|
||||
my $capath; # certificate chain PEM folder
|
||||
|
|
@ -172,7 +172,7 @@ while(@ARGV) {
|
|||
}
|
||||
|
||||
#***************************************************************************
|
||||
# Initialize command line option dependant variables
|
||||
# Initialize command line option dependent variables
|
||||
#
|
||||
if(!$pidfile) {
|
||||
$pidfile = "$path/". server_pidfilename($proto, $ipvnum, $idnum);
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ my $port = 8999; # our default SCP/SFTP server port
|
|||
my $socksport = $port + 1; # our default SOCKS4/5 server port
|
||||
my $listenaddr = '127.0.0.1'; # default address on which to listen
|
||||
my $ipvnum = 4; # default IP version of listener address
|
||||
my $idnum = 1; # dafault ssh daemon instance number
|
||||
my $idnum = 1; # default ssh daemon instance number
|
||||
my $proto = 'ssh'; # protocol the ssh daemon speaks
|
||||
my $path = getcwd(); # current working directory
|
||||
my $logdir = $path .'/log'; # directory for log files
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 1998 - 2017, 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
|
||||
|
|
@ -37,7 +37,7 @@ use serverhelp qw(
|
|||
my $verbose = 0; # set to 1 for debugging
|
||||
my $port = 8997; # just a default
|
||||
my $ipvnum = 4; # default IP version of tftp server
|
||||
my $idnum = 1; # dafault tftp server instance number
|
||||
my $idnum = 1; # default tftp server instance number
|
||||
my $proto = 'tftp'; # protocol the tftp server speaks
|
||||
my $pidfile; # tftp server pid file
|
||||
my $logfile; # tftp server log file
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2017, 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
|
||||
|
|
@ -242,7 +242,7 @@ UNITTEST_START
|
|||
|
||||
/**
|
||||
* @case 1:
|
||||
* moving head from an llist containg one element to an empty llist
|
||||
* moving head from an llist containing one element to an empty llist
|
||||
* @assumptions:
|
||||
* 1: llist size will be 0
|
||||
* 2: llist_destination size will be 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue