NetworkManager/src/platform/tests
Thomas Haller cc438c2ab4 platform/tests: workaround routing-rules test failure due to suppress_prefixlen on older kernels
On Ubuntu 14.04 kernel (4.4.0-146-generic, x86_64) this easily causes
test failures:

    make -j 8 src/platform/tests/test-route-linux \
    && while true; do \
        NMTST_SEED_RANDOM= ./tools/run-nm-test.sh src/platform/tests/test-route-linux -p /route/rule \
        || break; \
    done

outputs:

    ...
    /route/rule/1:
    nmtst: initialize nmtst_get_rand() with NMTST_SEED_RAND=22892021
    OK
    /route/rule/2: >>> failing...
    >>> no fuzzy match between: [routing-rule,0x205ab30,1,+alive,+visible; [6] 0: from all suppress_prefixlen 8 none]
    >>>                    and: [routing-rule,0x205c0c0,1,+alive,+visible; [6] 0: from all suppress_prefixlen -1579099242 none]
    **
    test:ERROR:src/platform/tests/test-route.c:1695:test_rule: code should not be reached

(cherry picked from commit d5a2b70909)
2019-05-03 10:42:55 +02:00
..
.gitignore platform: add nmp-object.h file 2015-06-17 11:23:51 +02:00
meson.build Revert "build/meson: name platform tests like autotools" 2019-02-23 07:40:03 +01:00
monitor.c platform: refactor detecting kernel features 2019-04-18 11:19:26 +02:00
test-address.c docs: misc. typos 2018-09-15 09:08:03 +02:00
test-cleanup.c platform: merge NMPlatformError with nm-error 2018-12-27 21:33:59 +01:00
test-common.c platform/tests: increase timeout waiting for externally adding IP address 2019-04-07 13:24:34 +02:00
test-common.h platform/tests: add tests for handling policy routing rules 2019-03-13 09:03:59 +01:00
test-general.c platform: attach WifiData to NMPObject 2018-06-26 16:21:54 +02:00
test-link.c shared: move most of "shared/nm-utils" to "shared/nm-glib-aux" 2019-04-18 19:57:27 +02:00
test-nmp-object.c shared: move udev helper to separate directory "shared/nm-udev-aux" 2019-04-18 19:46:50 +02:00
test-route.c platform/tests: workaround routing-rules test failure due to suppress_prefixlen on older kernels 2019-05-03 10:42:55 +02:00