Commit ec574446 authored by Dietmar Maurer's avatar Dietmar Maurer

apltest: ignore architecture

parent 6937084a
...@@ -13,8 +13,11 @@ foreach my $k (keys %{$pkglist->{'all'}}) { ...@@ -13,8 +13,11 @@ foreach my $k (keys %{$pkglist->{'all'}}) {
next if $k eq 'pve-web-news'; next if $k eq 'pve-web-news';
my $res = $pkglist->{'all'}->{$k}; my $res = $pkglist->{'all'}->{$k};
my $template = "$res->{os}-$res->{package}_$res->{version}_i386.tar.gz"; my $template = "$res->{os}-$res->{package}_$res->{version}_ARCH.tar.gz";
$template =~ s/$res->{os}-$res->{os}-/$res->{os}-/; $template =~ s/$res->{os}-$res->{os}-/$res->{os}-/;
$k =~ s/_amd64\.tar\.gz$/_ARCH.tar.gz/;
$k =~ s/_i386\.tar\.gz$/_ARCH.tar.gz/;
if ($k ne $template) { if ($k ne $template) {
print "ERROR: $k != $template\n"; print "ERROR: $k != $template\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment