diff --git a/xCAT-test/unit/autoyast_ipv6_network.t b/xCAT-test/unit/autoyast_ipv6_network.t index e07044a57d..d70afcd572 100644 --- a/xCAT-test/unit/autoyast_ipv6_network.t +++ b/xCAT-test/unit/autoyast_ipv6_network.t @@ -12,7 +12,7 @@ no warnings 'once'; use File::Spec; use FindBin; -use Test::More tests => 11; +use Test::More tests => 13; my $repo_root = File::Spec->catdir($FindBin::Bin, '..', '..'); $ENV{XCATROOT} = File::Spec->catdir($repo_root, 'xCAT-server'); @@ -47,6 +47,13 @@ unlike($xml, qr{(?!-)}, 'no IPv4 netmask is emitted for the interface') like($xml, qr{\Q2001:db8:1::fe\E}, 'the default route carries the IPv6 gateway'); like($xml, qr{\Q2001:db8:1::fe\E}, 'and the resolver is the IPv6 one'); +# dhcp_resolv says whether DHCP may overwrite resolv.conf. The AutoYaST schema of Leap 15.6 +# does not accept it, and one invalid element makes YaST reject the whole profile: it reports +# "Extra element networking in interleave" and then that no profile could be retrieved. The +# section configures the node statically, so there is no DHCP to keep away from resolv.conf. +unlike($xml, qr{