aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2024-01-20 10:10:06 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2024-01-20 10:16:59 -0800
commit22d8557152b81ec78f36e3ae71084541451158ac (patch)
tree7984c4e40818dc5e0f8d7c1bfdb9ca47a69068ce /t
parentfix: ensure keydir exists before loading metadata (diff)
downloadgitolite-gentoo-22d8557152b81ec78f36e3ae71084541451158ac.tar.gz
gitolite-gentoo-22d8557152b81ec78f36e3ae71084541451158ac.tar.bz2
gitolite-gentoo-22d8557152b81ec78f36e3ae71084541451158ac.zip
test: accept gentoo version tag
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 't')
-rwxr-xr-xt/info-json.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/info-json.t b/t/info-json.t
index 74fbdf4..0b1ce89 100755
--- a/t/info-json.t
+++ b/t/info-json.t
@@ -169,7 +169,7 @@ sub test_gs {
my $glu = shift;
my $res = ( $href->{GL_USER} eq $glu ? 1 : 'undef' );
try 'perl $_ = "' . $res . '"; /1/';
- $res = ( $href->{gitolite_version} =~ /^v3.[5-9]/ ? 1 : 'undef' );
+ $res = ( $href->{gitolite_version} =~ /^v3.[5-9]|^gitolite-gentoo-3.[5-9]/ ? 1 : 'undef' );
try 'perl $_ = "' . $res . '"; /1/';
$res = ( $href->{git_version} =~ /^1.[6-9]|^2./ ? 1 : 'undef' );
try 'perl $_ = "' . $res . '"; /1/';