mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
https://metacpan.org/release/Git-Raw/ Perl bindings to the Git linkable library (libgit2)
19 lines
549 B
Diff
19 lines
549 B
Diff
--- a/t/27-packbuilder.t
|
|
+++ b/t/27-packbuilder.t
|
|
@@ -5,6 +5,7 @@
|
|
use File::Spec::Functions qw(catfile rel2abs);
|
|
use File::Path qw(make_path);
|
|
use Git::Raw;
|
|
+use Config;
|
|
|
|
my $path = rel2abs(catfile('t', 'test_repo'));
|
|
my $repo = Git::Raw::Repository -> open($path);
|
|
@@ -55,7 +56,7 @@
|
|
is $pb -> written, 4;
|
|
is $pb -> object_count, 4;
|
|
is $transfer_progress_count, $pb -> written + 1;
|
|
-is $pack_progress_count, 3;
|
|
+is $pack_progress_count, 3 if $Config{archname} !~ m/riscv64/;
|
|
|
|
is $pb -> hash, '4ec0baa806411548c1051dbd4620bd8447045d9e';
|
|
|