runtests: also find the last test in Makefile.inc

Closes #7209
This commit is contained in:
Daniel Stenberg 2021-06-09 13:52:29 +02:00
parent 77ae8f26ad
commit dd47b0cce9
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -3556,7 +3556,7 @@ sub singletest {
# timestamp test preparation start
$timeprepini{$testnum} = Time::HiRes::time();
if($disttests !~ /test$testnum\W/ ) {
if($disttests !~ /test$testnum(\W|\z)/ ) {
logmsg "Warning: test$testnum not present in tests/data/Makefile.inc\n";
}
if($disabled{$testnum}) {