Skip to content

Commit

Permalink
tests: fix printing images version
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Sep 3, 2024
1 parent 0fdd7ea commit 444dd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/600-scenarios.t
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ sub _run {
output_prefix => Thruk::Utils::Log::time_prefix(),
});
is($rc, 0, sprintf("step %s complete, rc=%d duration=%.1fsec", $step, $rc, tv_interval ($t0)));
if($out =~ m/^(FROM.*version:.*)$/mx) {
if($out =~ m/^\[.*?\](FROM.*version:.*)$/mx) {
diag($1);
}
push @{$archive}, [$step, $rc, $out];
Expand Down

0 comments on commit 444dd92

Please sign in to comment.