From 3863de57f2fdb9a487d7f92c0bd64d740dc7a96f Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sun, 12 Mar 2017 22:33:56 +0100 Subject: tests: clear the SSL_CERT_FILE variable on --libcurl tests Otherwise, the contents will end up in the output and fail the verification. --- tests/data/test1400 | 3 +++ tests/data/test1401 | 3 +++ tests/data/test1402 | 3 +++ tests/data/test1403 | 3 +++ tests/data/test1404 | 3 +++ tests/data/test1405 | 3 +++ tests/data/test1406 | 3 +++ tests/data/test1407 | 5 ++++- 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 --libcurl for simple HTTP GET + +SSL_CERT_FILE= + http://%HOSTIP:%HTTPPORT/we/want/1400 --libcurl log/test1400.c 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 --libcurl for GET with various options + +SSL_CERT_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" 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 --libcurl for simple POST + +SSL_CERT_FILE= + http://%HOSTIP:%HTTPPORT/we/want/1402 --libcurl log/test1402.c -d "foo=bar" -d "baz=quux" 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 --libcurl for GET with query + +SSL_CERT_FILE= + http://%HOSTIP:%HTTPPORT/we/want/1403 --libcurl log/test1403.c -G -d "foo=bar" -d "baz=quux" 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 --libcurl for HTTP RFC1867-type formposting - -F with three files, one with explicit type + +SSL_CERT_FILE= + 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 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 --libcurl for FTP with quote ops + +SSL_CERT_FILE= + ftp://%HOSTIP:%FTPPORT/1405 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD" --libcurl log/test1405.c 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 --libcurl for SMTP + +SSL_CERT_FILE= + 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 --libcurl for POP3 LIST one message - + +SSL_CERT_FILE= + + pop3://%HOSTIP:%POP3PORT/1407 -l -u user:secret --libcurl log/test1407.c 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 --libcurl for IMAP FETCH message - + +SSL_CERT_FILE= + + 'imap://%HOSTIP:%IMAPPORT/1420/;UID=1' -u user:secret --libcurl log/test1420.c -- cgit v1.2.3