Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 118c500a authored by Ken Chen's avatar Ken Chen
Browse files

[Test] Skip IPv6LinkLocalWithDefaultRouteFlag on Kernel 4.4

The test failed on kernel 4.4 since the kernel does not provide an IPv6
link-local address when an interface is added to a network. The IPv6
link-local address is a prerequisite for this test. Considering 4.4 is
outdated and EOL'ed, skip the test directly.

Bug: 259798540
Test: atest ResolverMultinetworkTest (on walleye)
Change-Id: Id2951ff730cfb196d9e21e6313530a6ee728f89e
parent 83e8e930
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -7730,6 +7730,10 @@ TEST_F(ResolverMultinetworkTest, IPv6LinkLocalWithDefaultRoute) {
// Test if the "do not send AAAA query when IPv6 address is link-local with a default route" feature
// can be toggled by flag.
TEST_F(ResolverMultinetworkTest, IPv6LinkLocalWithDefaultRouteFlag) {
    // Kernel 4.4 does not provide an IPv6 link-local address when an interface is added to a
    // network. Skip it because v6 link-local address is a prerequisite for this test.
    SKIP_IF_KERNEL_VERSION_LOWER_THAN(4, 9, 0);

    constexpr char host_name[] = "ohayou.example.com.";
    const struct TestConfig {
        std::string flagValue;