]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: also find the last test in Makefile.inc
authorDaniel Stenberg <daniel@haxx.se>
Wed, 9 Jun 2021 11:52:29 +0000 (13:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Jun 2021 06:42:52 +0000 (08:42 +0200)
Closes #7209

tests/runtests.pl

index dd38ef4f1b0381be171f2c9f5556daba038970cc..139070eb2d1b311f4686e8128a383d05316778ee 100755 (executable)
@@ -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}) {