2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-04 20:17:55 +00:00

test(genesis): mark intentional helper evaluation

This commit is contained in:
Vinícius Ferrão
2026-08-24 20:53:17 -03:00
parent 77dbee3bea
commit f319f0fea3
@@ -15,7 +15,7 @@ close($source_fh) or die "close $source: $!";
my ($routine) = $content =~ /^(sub _installed_genesis_architectures\s*\{.*?^\})/ms;
BAIL_OUT('could not extract _installed_genesis_architectures from xcatconfig')
unless $routine;
eval $routine;
eval $routine; ## no critic (BuiltinFunctions::ProhibitStringyEval)
BAIL_OUT("could not load _installed_genesis_architectures: $@") if $@;
my $tmpdir = tempdir(CLEANUP => 1);