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 = '';
|
my $pfx = '';
|
||||||
|
|
||||||
if ($opt_j || $opt_s) {
|
if ($opt_j || $opt_s) {
|
||||||
die "$0: malformed line" unless substr($_, 24, 1) eq ' ';
|
die "$0: malformed line" unless /^$ctime_re /;
|
||||||
$pfx .= norm_ctime(substr($_, 0, 25));
|
|
||||||
$_ = substr($_, 25);
|
$_ = substr($_, 25);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue