log a 1120 chars long string to aid in quoted-printable and soft
authorYang Tse <yangsita@gmail.com>
Tue, 27 Feb 2007 23:46:48 +0000 (23:46 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 27 Feb 2007 23:46:48 +0000 (23:46 +0000)
line break detection in daily build logs.

tests/testcurl.pl

index a041f56..de6fba4 100755 (executable)
@@ -265,11 +265,14 @@ if ($fixed < 4) {
     close(F);
 }
 
+my $str1066os = 'o' x 1066;
+
 # Set timestamp to the UTC this script is running. Its value might
 # be changed later in the script to the value present in curlver.h
 $timestamp = scalar(gmtime)." UTC";
 
 logit "STARTING HERE"; # first line logged, for scripts to trigger on
+logit 'TRANSFER CONTROL ==== 1120 CHAR LINE' . $str1066os . 'LINE_END';
 logit "NAME = $name";
 logit "EMAIL = $email";
 logit "DESC = $desc";
@@ -282,6 +285,8 @@ logit "target = ".$targetos;
 logit "version = $version"; # script version
 logit "date = $timestamp";  # When the test build starts
 
+$str1066os = undef;
+
 # Make $pwd to become the path without newline. We'll use that in order to cut
 # off that path from all possible logs and error messages etc.
 $pwd = cwd();