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

Commit 58b58c73 authored by Ken Chen's avatar Ken Chen Committed by Automerger Merge Worker
Browse files

Merge "[Test] Skip IPv6LinkLocalWithDefaultRouteFlag on Kernel 4.4" am: 0bfb5a4c

parents 2cf44356 0bfb5a4c
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;