tests: Cut off log file timestamp instead of normalizing it
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
a835282a3c
commit
02cb202a69
3 changed files with 3378 additions and 3379 deletions
|
@ -34,8 +34,7 @@ while (<>) {
|
|||
my $pfx = '';
|
||||
|
||||
if ($opt_j || $opt_s) {
|
||||
die "$0: malformed line" unless substr($_, 24, 1) eq ' ';
|
||||
$pfx .= norm_ctime(substr($_, 0, 25));
|
||||
die "$0: malformed line" unless /^$ctime_re /;
|
||||
$_ = substr($_, 25);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue