summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-08-19 22:07:15 +0200
committerDan Fandrich <dan@coneharvesters.com>2017-08-19 22:07:15 +0200
commitb9e22e9575d72b5bb5f5f8de79ca51af96b37b54 (patch)
tree5341d4122de0ff60b55ebecbfdc4df33b0ddd866 /tests
parentc468c27b5a8abb8134b3f89439aaac45f37d22d7 (diff)
downloadcurl-b9e22e9575d72b5bb5f5f8de79ca51af96b37b54.tar.gz
runtests: fixed case insensitive matching of keywords
Commit 5c2aac71 didn't work in the case of mixed-case keywords given on the command-line.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 41f92629b..645db3939 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -5379,7 +5379,7 @@ EOHELP
$disabled{$1}=$1;
}
elsif($ARGV[0] =~ /^!(.+)/) {
- $disabled_keywords{$1}=$1;
+ $disabled_keywords{lc($1)}=$1;
}
elsif($ARGV[0] =~ /^([-[{a-zA-Z].*)/) {
$enabled_keywords{lc($1)}=$1;