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:
Dan Fandrich 2017-03-12 22:33:56 +01:00
parent 75398731e4
commit 3863de57f2
9 changed files with 29 additions and 2 deletions

View File

@ -27,6 +27,9 @@ http
<name>
--libcurl for simple HTTP GET
</name>
<setenv>
SSL_CERT_FILE=
</setenv>
<command>
http://%HOSTIP:%HTTPPORT/we/want/1400 --libcurl log/test1400.c
</command>

View File

@ -31,6 +31,9 @@ http
<name>
--libcurl for GET with various options
</name>
<setenv>
SSL_CERT_FILE=
</setenv>
<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"
</command>

View File

@ -28,6 +28,9 @@ http
<name>
--libcurl for simple POST
</name>
<setenv>
SSL_CERT_FILE=
</setenv>
<command>
http://%HOSTIP:%HTTPPORT/we/want/1402 --libcurl log/test1402.c -d "foo=bar" -d "baz=quux"
</command>

View File

@ -28,6 +28,9 @@ http
<name>
--libcurl for GET with query
</name>
<setenv>
SSL_CERT_FILE=
</setenv>
<command>
http://%HOSTIP:%HTTPPORT/we/want/1403 --libcurl log/test1403.c -G -d "foo=bar" -d "baz=quux"
</command>

View File

@ -29,6 +29,9 @@ http
<name>
--libcurl for HTTP RFC1867-type formposting - -F with three files, one with explicit type
</name>
<setenv>
SSL_CERT_FILE=
</setenv>
<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
</command>

View File

@ -32,6 +32,9 @@ ftp
<name>
--libcurl for FTP with quote ops
</name>
<setenv>
SSL_CERT_FILE=
</setenv>
<command>
ftp://%HOSTIP:%FTPPORT/1405 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD" --libcurl log/test1405.c
</command>

View File

@ -25,6 +25,9 @@ smtp
<name>
--libcurl for SMTP
</name>
<setenv>
SSL_CERT_FILE=
</setenv>
<file name="log/test1406.eml">
From: different
To: another

View File

@ -26,7 +26,10 @@ pop3
<name>
--libcurl for POP3 LIST one message
</name>
<command>
<setenv>
SSL_CERT_FILE=
</setenv>
<command>
pop3://%HOSTIP:%POP3PORT/1407 -l -u user:secret --libcurl log/test1407.c
</command>
</client>

View File

@ -32,7 +32,10 @@ imap
<name>
--libcurl for IMAP FETCH message
</name>
<command>
<setenv>
SSL_CERT_FILE=
</setenv>
<command>
'imap://%HOSTIP:%IMAPPORT/1420/;UID=1' -u user:secret --libcurl log/test1420.c
</command>
</client>