mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
tests: clear the SSL_CERT_FILE variable on --libcurl tests
Otherwise, the contents will end up in the output and fail the verification.
This commit is contained in:
parent
75398731e4
commit
3863de57f2
@ -27,6 +27,9 @@ http
|
|||||||
<name>
|
<name>
|
||||||
--libcurl for simple HTTP GET
|
--libcurl for simple HTTP GET
|
||||||
</name>
|
</name>
|
||||||
|
<setenv>
|
||||||
|
SSL_CERT_FILE=
|
||||||
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
http://%HOSTIP:%HTTPPORT/we/want/1400 --libcurl log/test1400.c
|
http://%HOSTIP:%HTTPPORT/we/want/1400 --libcurl log/test1400.c
|
||||||
</command>
|
</command>
|
||||||
|
@ -31,6 +31,9 @@ http
|
|||||||
<name>
|
<name>
|
||||||
--libcurl for GET with various options
|
--libcurl for GET with various options
|
||||||
</name>
|
</name>
|
||||||
|
<setenv>
|
||||||
|
SSL_CERT_FILE=
|
||||||
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
http://%HOSTIP:%HTTPPORT/we/want/1401 --libcurl log/test1401.c --basic -u fake:user -H "X-Files: Mulder" -H "X-Men: cyclops, iceman" -A MyUA -b chocolate=chip --proto "=http,ftp,file"
|
http://%HOSTIP:%HTTPPORT/we/want/1401 --libcurl log/test1401.c --basic -u fake:user -H "X-Files: Mulder" -H "X-Men: cyclops, iceman" -A MyUA -b chocolate=chip --proto "=http,ftp,file"
|
||||||
</command>
|
</command>
|
||||||
|
@ -28,6 +28,9 @@ http
|
|||||||
<name>
|
<name>
|
||||||
--libcurl for simple POST
|
--libcurl for simple POST
|
||||||
</name>
|
</name>
|
||||||
|
<setenv>
|
||||||
|
SSL_CERT_FILE=
|
||||||
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
http://%HOSTIP:%HTTPPORT/we/want/1402 --libcurl log/test1402.c -d "foo=bar" -d "baz=quux"
|
http://%HOSTIP:%HTTPPORT/we/want/1402 --libcurl log/test1402.c -d "foo=bar" -d "baz=quux"
|
||||||
</command>
|
</command>
|
||||||
|
@ -28,6 +28,9 @@ http
|
|||||||
<name>
|
<name>
|
||||||
--libcurl for GET with query
|
--libcurl for GET with query
|
||||||
</name>
|
</name>
|
||||||
|
<setenv>
|
||||||
|
SSL_CERT_FILE=
|
||||||
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
http://%HOSTIP:%HTTPPORT/we/want/1403 --libcurl log/test1403.c -G -d "foo=bar" -d "baz=quux"
|
http://%HOSTIP:%HTTPPORT/we/want/1403 --libcurl log/test1403.c -G -d "foo=bar" -d "baz=quux"
|
||||||
</command>
|
</command>
|
||||||
|
@ -29,6 +29,9 @@ http
|
|||||||
<name>
|
<name>
|
||||||
--libcurl for HTTP RFC1867-type formposting - -F with three files, one with explicit type
|
--libcurl for HTTP RFC1867-type formposting - -F with three files, one with explicit type
|
||||||
</name>
|
</name>
|
||||||
|
<setenv>
|
||||||
|
SSL_CERT_FILE=
|
||||||
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
http://%HOSTIP:%HTTPPORT/we/want/1404 -F name=value -F 'file=@log/test1404.txt,log/test1404.txt;type=magic/content,log/test1404.txt' --libcurl log/test1404.c
|
http://%HOSTIP:%HTTPPORT/we/want/1404 -F name=value -F 'file=@log/test1404.txt,log/test1404.txt;type=magic/content,log/test1404.txt' --libcurl log/test1404.c
|
||||||
</command>
|
</command>
|
||||||
|
@ -32,6 +32,9 @@ ftp
|
|||||||
<name>
|
<name>
|
||||||
--libcurl for FTP with quote ops
|
--libcurl for FTP with quote ops
|
||||||
</name>
|
</name>
|
||||||
|
<setenv>
|
||||||
|
SSL_CERT_FILE=
|
||||||
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
ftp://%HOSTIP:%FTPPORT/1405 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD" --libcurl log/test1405.c
|
ftp://%HOSTIP:%FTPPORT/1405 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD" --libcurl log/test1405.c
|
||||||
</command>
|
</command>
|
||||||
|
@ -25,6 +25,9 @@ smtp
|
|||||||
<name>
|
<name>
|
||||||
--libcurl for SMTP
|
--libcurl for SMTP
|
||||||
</name>
|
</name>
|
||||||
|
<setenv>
|
||||||
|
SSL_CERT_FILE=
|
||||||
|
</setenv>
|
||||||
<file name="log/test1406.eml">
|
<file name="log/test1406.eml">
|
||||||
From: different
|
From: different
|
||||||
To: another
|
To: another
|
||||||
|
@ -26,7 +26,10 @@ pop3
|
|||||||
<name>
|
<name>
|
||||||
--libcurl for POP3 LIST one message
|
--libcurl for POP3 LIST one message
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<setenv>
|
||||||
|
SSL_CERT_FILE=
|
||||||
|
</setenv>
|
||||||
|
<command>
|
||||||
pop3://%HOSTIP:%POP3PORT/1407 -l -u user:secret --libcurl log/test1407.c
|
pop3://%HOSTIP:%POP3PORT/1407 -l -u user:secret --libcurl log/test1407.c
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
@ -32,7 +32,10 @@ imap
|
|||||||
<name>
|
<name>
|
||||||
--libcurl for IMAP FETCH message
|
--libcurl for IMAP FETCH message
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<setenv>
|
||||||
|
SSL_CERT_FILE=
|
||||||
|
</setenv>
|
||||||
|
<command>
|
||||||
'imap://%HOSTIP:%IMAPPORT/1420/;UID=1' -u user:secret --libcurl log/test1420.c
|
'imap://%HOSTIP:%IMAPPORT/1420/;UID=1' -u user:secret --libcurl log/test1420.c
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
Loading…
Reference in New Issue
Block a user