X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=xt%2Fgit-http-backend.t;fp=xt%2Fgit-http-backend.t;h=1f3ba0633429856e478fa28f90749e0cbc4dcf00;hp=adadebb0a15ab7926923d736d5ea34c1282262c2;hb=f4f8acc91796060dbf680198201f9a82d8fe6c88;hpb=8816336b59c9dd0b26c8620668a01b66c0818a1e diff --git a/xt/git-http-backend.t b/xt/git-http-backend.t index adadebb0..1f3ba063 100644 --- a/xt/git-http-backend.t +++ b/xt/git-http-backend.t @@ -1,4 +1,4 @@ -# Copyright (C) 2016-2021 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ # # Ensure buffering behavior in -httpd doesn't cause runaway memory use @@ -53,7 +53,7 @@ SKIP: { } } skip "no packs found in $git_dir" unless defined $pack; - if ($pack !~ m!(/objects/pack/pack-[a-f0-9]{40}.pack)\z!) { + if ($pack !~ m!(/objects/pack/pack-[a-f0-9]{40,64}.pack)\z!) { skip "bad pack name: $pack"; } my $url = $1;