aports/testing/perl-git-raw/libgit2-riscv64-tests.patch
Celeste 640a66b2c4 testing/perl-git-raw: new aport
https://metacpan.org/release/Git-Raw/
Perl bindings to the Git linkable library (libgit2)
2024-02-05 11:42:01 +00:00

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';