]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: slightly increase the longest log file displayed
authorDan Fandrich <dan@coneharvesters.com>
Thu, 17 Aug 2023 01:20:11 +0000 (18:20 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 22 Aug 2023 22:32:16 +0000 (15:32 -0700)
The new limit provides enough space for a 64 KiB data block to be logged
in a trace file, plus a few lines at the start and end for context. This
happens to be the amount of data sent at a time in a PUT request.

tests/runtests.pl

index 01a8a0aa68e65561afb13526a4a8671784cb731e..5c3643f99400d6381f3130b50ee4ae282e60d7fa 100755 (executable)
@@ -2672,7 +2672,7 @@ sub displaylogcontent {
                     logmsg " $line\n";
                 }
                 $linecount++;
-                $truncate = $linecount > 1000;
+                $truncate = $linecount > 1200;
             }
         }
         close($single);