mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
runtests: fix Perl warning
```
Use of uninitialized value $cmdhash{"option"} in pattern match (m//) at tests/runtests.pl line 1753.
```
Ref: https://github.com/curl/curl/actions/runs/19833947198/job/56831923295?pr=19794#step:13:3694
Follow-up to 02aa75a8c2 #19752
Closes #19797
This commit is contained in:
parent
9517b41b50
commit
58673ac837
@ -1750,7 +1750,7 @@ sub singletest_check {
|
||||
if(! -f "$logdir/$MEMDUMP") {
|
||||
my %cmdhash = getpartattr("client", "command");
|
||||
my $cmdtype = $cmdhash{'type'} || "default";
|
||||
if($cmdhash{'option'} !~ /no-memdebug/) {
|
||||
if($cmdhash{'option'} && $cmdhash{'option'} !~ /no-memdebug/) {
|
||||
logmsg "\n** ALERT! memory tracking with no output file?\n"
|
||||
if($cmdtype ne "perl");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user