runtests: check for Debug case sensitively

For both TrackMemory and Debug

Closes #21099
This commit is contained in:
Daniel Stenberg 2026-03-26 09:19:08 +01:00
parent b71973c115
commit 916faac3dc
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -657,9 +657,9 @@ sub checksystemfeatures {
$feat = $1;
# built with memory tracking support (--enable-debug); may be disabled later
$feature{"TrackMemory"} = $feat =~ /Debug/i;
$feature{"TrackMemory"} = $feat =~ /\bDebug/;
# curl was built with --enable-debug
$feature{"Debug"} = $feat =~ /Debug/i;
$feature{"Debug"} = $feat =~ /\bDebug/;
# ssl enabled
$feature{"SSL"} = $feat =~ /SSL/i;
# multiple ssl backends available.