gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 02/256: runtests: match keywords case insensitively


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 02/256: runtests: match keywords case insensitively
Date: Fri, 06 Oct 2017 19:41: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 5c2aac7162fe6ccce2d201eccdc3bd1fd2f0a092
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Aug 14 23:05:11 2017 +0200

    runtests: match keywords case insensitively
---
 tests/runtests.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/runtests.pl b/tests/runtests.pl
index 065df7c5f..41f92629b 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -3585,9 +3585,9 @@ sub singletest {
 
         for $k (@keywords) {
             chomp $k;
-            if ($disabled_keywords{$k}) {
+            if ($disabled_keywords{lc($k)}) {
                 $why = "disabled by keyword";
-            } elsif ($enabled_keywords{$k}) {
+            } elsif ($enabled_keywords{lc($k)}) {
                 $match = 1;
             }
         }
@@ -5382,7 +5382,7 @@ EOHELP
         $disabled_keywords{$1}=$1;
     }
     elsif($ARGV[0] =~ /^([-[{a-zA-Z].*)/) {
-        $enabled_keywords{$1}=$1;
+        $enabled_keywords{lc($1)}=$1;
     }
     else {
         print "Unknown option: $ARGV[0]\n";

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



reply via email to

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