NetworkManager/src/platform/tests
Thomas Haller f9852821e3 core: don't warn when setting address of non-existing link
Trying to set a property on a device that does not exist is not something
necessarily wrong. Don't print error/warning messages.

    <trace> [1467707267.2887] device[0x55a74adbdaf0] (enp0s25): set-hw-addr: setting MAC address to 'AA:BB:CC:DD:EE:FF' (reset, unmanage)...
    <debug> [1467707267.2887] platform: link: setting '(null)' (2) hardware address
    <debug> [1467707267.2887] platform-linux: link: change 2: address: 68:F7:28:61:68:F7 (6 bytes)
    <debug> [1467707267.2887] platform-linux: do-request-link: 2
    <debug> [1467707267.2888] platform-linux: netlink: recvmsg: error message from kernel: No such device (19) for request 226
    <debug> [1467707267.2888] platform-linux: netlink: recvmsg: error message from kernel: No such device (19) for request 227
    <error> [1467707267.2888] platform-linux: do-change-link[2]: failure changing link: failure 19 (No such device)
    <warn>  [1467707267.2888] device (enp0s25): set-hw-addr: failed to reset MAC address to 68:F7:28:61:68:F7 (unmanage)
2016-07-05 23:08:22 +02:00
..
.gitignore platform: add nmp-object.h file 2015-06-17 11:23:51 +02:00
Makefile.am platform/tests: change build order to first build test-common.c and platform core 2016-04-11 11:26:37 +02:00
monitor.c all/tests: split core part out of "nm-test-utils.h" 2016-05-17 16:48:52 +02:00
test-address.c platform/tests: add @platform argument to nmtstp functions 2016-04-11 11:26:37 +02:00
test-cleanup.c platform/tests/trivial: rename init_tests() and setup_tests() function 2016-04-11 11:26:37 +02:00
test-common.c platform/tests: improve nmtstp_wait_for_signal() to return number of signals 2016-04-11 11:26:37 +02:00
test-common.h macros: add macro _nm_printf() for function attribute 2016-06-05 12:22:01 +02:00
test-general.c all/tests: split core part out of "nm-test-utils.h" 2016-05-17 16:48:52 +02:00
test-link.c core: don't warn when setting address of non-existing link 2016-07-05 23:08:22 +02:00
test-nmp-object.c all/tests: split core part out of "nm-test-utils.h" 2016-05-17 16:48:52 +02:00
test-route.c platform: extend NMIPConfigSource to preserve the rtm_protocol field 2016-04-28 12:53:21 +02:00