diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2017-03-12 22:33:56 +0100 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2017-03-12 22:33:56 +0100 |
commit | 3863de57f2fdb9a487d7f92c0bd64d740dc7a96f (patch) | |
tree | 0583b96d0ce7a47725a55f1411dad53ff3e6cef0 /tests/data | |
parent | 75398731e40dad2daee74981742882e4ef9f8a49 (diff) |
tests: clear the SSL_CERT_FILE variable on --libcurl tests
Otherwise, the contents will end up in the output and fail the
verification.
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test1400 | 3 | ||||
-rw-r--r-- | tests/data/test1401 | 3 | ||||
-rw-r--r-- | tests/data/test1402 | 3 | ||||
-rw-r--r-- | tests/data/test1403 | 3 | ||||
-rw-r--r-- | tests/data/test1404 | 3 | ||||
-rw-r--r-- | tests/data/test1405 | 3 | ||||
-rw-r--r-- | tests/data/test1406 | 3 | ||||
-rw-r--r-- | tests/data/test1407 | 5 | ||||
-rw-r--r-- | tests/data/test1420 | 5 |
9 files changed, 29 insertions, 2 deletions
diff --git a/tests/data/test1400 b/tests/data/test1400 index 838fe6387..e82084324 100644 --- a/tests/data/test1400 +++ b/tests/data/test1400 @@ -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> diff --git a/tests/data/test1401 b/tests/data/test1401 index 1e2b4a77f..34469a376 100644 --- a/tests/data/test1401 +++ b/tests/data/test1401 @@ -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> diff --git a/tests/data/test1402 b/tests/data/test1402 index 07c3f491d..bf22695e6 100644 --- a/tests/data/test1402 +++ b/tests/data/test1402 @@ -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> diff --git a/tests/data/test1403 b/tests/data/test1403 index 18167b4fd..1a0fc7d8f 100644 --- a/tests/data/test1403 +++ b/tests/data/test1403 @@ -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> diff --git a/tests/data/test1404 b/tests/data/test1404 index 6f53ca8cf..c0bb81b58 100644 --- a/tests/data/test1404 +++ b/tests/data/test1404 @@ -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> diff --git a/tests/data/test1405 b/tests/data/test1405 index 4e8d46d7f..041d9f3bd 100644 --- a/tests/data/test1405 +++ b/tests/data/test1405 @@ -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> diff --git a/tests/data/test1406 b/tests/data/test1406 index 0ccb08a77..c01d2e3e9 100644 --- a/tests/data/test1406 +++ b/tests/data/test1406 @@ -25,6 +25,9 @@ smtp <name> --libcurl for SMTP </name> +<setenv> +SSL_CERT_FILE= +</setenv> <file name="log/test1406.eml"> From: different
To: another
diff --git a/tests/data/test1407 b/tests/data/test1407 index 981e4e414..922e42231 100644 --- a/tests/data/test1407 +++ b/tests/data/test1407 @@ -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> diff --git a/tests/data/test1420 b/tests/data/test1420 index a20f89868..3cff4628d 100644 --- a/tests/data/test1420 +++ b/tests/data/test1420 @@ -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> |