mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 17:02:15 +00:00
test(debian): the mkinstall branch test dies on the IPv6-only check
subiquity_boot_params now asks whether the node has an IPv4 address, and this test's xCAT::NetworkUtils stub had no node_is_ipv6_only, so the extracted routine died at the call and the file reported no plan rather than a failed assertion. The stub answers that the node has an IPv4 address, which is what every case here describes. The refusal itself is covered in debian_subiquity_boot_params.t. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
@@ -62,6 +62,9 @@ my @reported;
|
||||
return '10.0.0.1' if defined($name) && $name eq 'mn.cluster';
|
||||
return undef;
|
||||
}
|
||||
# The nodes of this test all have an IPv4 address; the IPv6-only refusal is covered in
|
||||
# debian_subiquity_boot_params.t.
|
||||
sub node_is_ipv6_only { return 0 }
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user