gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 122/256: runtests.pl: Apply strippart to upload too


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 122/256: runtests.pl: Apply strippart to upload too.
Date: Fri, 06 Oct 2017 19:43:33 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit f0cda34145bd134f8d92b4ec76d4c1dd606263ec
Author: Patrick Monnerat <address@hidden>
AuthorDate: Sat Sep 2 12:55:28 2017 +0100

    runtests.pl: Apply strippart to upload too.
    
    This will allow substitution of boundaries in mail messages.
---
 tests/runtests.pl | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tests/runtests.pl b/tests/runtests.pl
index 645db3939..5ffd8e7b0 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -4289,6 +4289,17 @@ sub singletest {
     if(@upload) {
         # verify uploaded data
         my @out = loadarray("$LOGDIR/upload.$testnum");
+
+        # what parts to cut off from the upload
+        my @strippart = getpart("verify", "strippart");
+        my $strip;
+        for $strip (@strippart) {
+            chomp $strip;
+            for(@out) {
+                eval $strip;
+            }
+        }
+
         $res = compare($testnum, $testname, "upload", address@hidden, 
address@hidden);
         if ($res) {
             return 1;

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



reply via email to

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