t/common.perl | 4 +++- diff --git a/t/common.perl b/t/common.perl index e49a596524b17c5d559ed6f871bb80195e45fdef..5a898e32fceea4c1d1d0f1f55a240257ea3d9f31 100644 --- a/t/common.perl +++ b/t/common.perl @@ -3,6 +3,8 @@ # License: AGPL-3.0+ use Fcntl qw(FD_CLOEXEC F_SETFD F_GETFD); use POSIX qw(dup2); +use strict; +use warnings; sub stream_to_string { my ($res) = @_; @@ -48,7 +50,7 @@ my $req_int = ($req_maj << 24) | ($req_min << 16); my $cur_int = ($cur_maj << 24) | ($cur_min << 16); if ($cur_int < $req_int) { return 0 if $maybe; - plan skip_all => "git $req+ required, have $git_ver"; + plan skip_all => "git $req+ required, have $cur_maj.$cur_min"; } 1; }