Assisted-by: GLM 5.3 Flash
This commit is contained in:
@@ -124,6 +124,25 @@ my %defaults = parse_args();
|
||||
is($defaults{dry_run}, 0, 'args: dry run is off by default');
|
||||
@ARGV = @saved;
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# The base package catalogue
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# The proxy of the collection is caddy everywhere; nginx left the baseline when
|
||||
# sglang-deploy.pl moved to Caddy, and the name survives only in its own legacy
|
||||
# clean-up.
|
||||
check((grep { $_ eq 'caddy' } base_packages()) == 1, 'packages: caddy is a base package');
|
||||
check((grep { $_ eq 'nginx' } base_packages()) == 0, 'packages: nginx is not');
|
||||
is(join('|', base_packages()),
|
||||
'nano|curl|wget|htop|tmux|rsync|caddy|openssl|jq|fastfetch',
|
||||
'packages: the whole list, in order');
|
||||
my %openeuler_gaps = unpackaged_for('openeuler');
|
||||
is(exists $openeuler_gaps{caddy} ? 'yes' : 'no', 'yes',
|
||||
'packages: the openEuler gap is named in the unpackaged map');
|
||||
is(scalar(unpackaged_for('fedora')) // 0, 0, 'packages: Fedora has no unpackaged entry');
|
||||
is(scalar(unpackaged_for('centos')) // 0, 0,
|
||||
'packages: CentOS Stream has no unpackaged entry, EPEL carries caddy');
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# The command runner
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user