gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 73/205: tests: clear the SSL_CERT_FILE variable on


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 73/205: tests: clear the SSL_CERT_FILE variable on --libcurl tests
Date: Thu, 20 Apr 2017 16:20:13 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 3863de57f2fdb9a487d7f92c0bd64d740dc7a96f
Author: Dan Fandrich <address@hidden>
AuthorDate: Sun Mar 12 22:33:56 2017 +0100

    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
  <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 
'address@hidden/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>

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]