diff --git a/contrib/cirrus/logformatter b/contrib/cirrus/logformatter index 36818aeee7..78ac1850d7 100755 --- a/contrib/cirrus/logformatter +++ b/contrib/cirrus/logformatter @@ -33,7 +33,7 @@ $| = 1; # Stylesheet for highlighting or de-highlighting parts of lines our $CSS = <<'END_CSS'; /* wrap long lines - don't require user to scroll right */ -pre { line-break: normal; overflow-wrap: normal; white-space: pre-wrap; } +.tt { font-family: monospace; line-break: normal; overflow-wrap: normal; white-space: pre-wrap; } /* synopsis table at top */ table.synopsis { border: none; border-collapse: collapse; margin-left: 2em; margin-top: 2ex; } @@ -246,7 +246,7 @@ END_HTML # When running in cirrus, we have the commit SHA $git_commit = $ENV{CIRRUS_CHANGE_IN_REPO}; - print { $out_fh } "
\n"; + print { $out_fh } "\n"; # Assume rootful prompt, check for rootless (here and in log itself, below) my $Prompt = '#'; @@ -581,7 +581,7 @@ END_HTML $subtest_status = 'passed'; # until proven otherwise $subtest_name = ''; - print { $out_fh } "\n\n
\n\n"; + print { $out_fh } "
\n\n"; # Always show timestamp at start of each new test $previous_timestamp = ''; next LINE; @@ -595,8 +595,6 @@ END_HTML my ($full_path, $remote, $options, $args) = ($1, $2||'', $3, $6); $options =~ s/^\s+//; - # July 2024: "" in composefs pull-option confuses hovertext - $options =~ s/\"//g; # Separate each '--foo bar' with newlines for readability $options =~ s/ --/\n--/g; qq{podman$remote [options]$args}; @@ -683,7 +681,7 @@ END_HTML $subtest_name .= " " if $subtest_name; $subtest_name .= $2; my $id = make_id($subtest_name, 'anchor'); - $line = "\n"; # Did we find a cirrus task? Link back. if ($cirrus_task) {$line
"; + $line = "$line
"; # Special case for tests that fail outside of a Describe() # block, e.g., global After/BeforeEach. We still want to @@ -741,7 +739,7 @@ END_HTML print { $out_fh } "\n"; } - print { $out_fh } " \n"; + print { $out_fh } "