gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 38/178: runtests.pl: fix warning 'use of uninitiali


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 38/178: runtests.pl: fix warning 'use of uninitialized value'
Date: Wed, 23 May 2018 12:24: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 9645f18f25918f17ef46fde304b0ae24e31c84fa
Author: Michael Kaufmann <address@hidden>
AuthorDate: Sun Mar 25 19:56:01 2018 +0200

    runtests.pl: fix warning 'use of uninitialized value'
    
    follow-up to a9a7b60
    
    Closes #2428
---
 tests/runtests.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/runtests.pl b/tests/runtests.pl
index 6503bf779..f9172007b 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -3909,7 +3909,8 @@ sub singletest {
 
     if((!$cmdhash{'option'}) || ($cmdhash{'option'} !~ /no-output/)) {
         #We may slap on --output!
-        if (address@hidden || $cmdhash{'option'} =~ /force-output/) {
+        if (address@hidden ||
+                ($cmdhash{'option'} && $cmdhash{'option'} =~ /force-output/)) {
             $out=" --output $CURLOUT ";
         }
     }

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



reply via email to

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