aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-14 23:05:11 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-14 23:05:11 +0200
commit5c2aac7162fe6ccce2d201eccdc3bd1fd2f0a092 (patch)
tree6b49409e8fe70a53fc93a1a0e7576562c6d1e258 /tests
parentadc35a4f1917c738d66b3c50174653fd782e7a27 (diff)
runtests: match keywords case insensitively
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl6
1 files 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";