NetworkManager/libnm-core/tests
Beniamino Galvani b5b7260873 libnm-core: ip-config: normalize may-fail for disabled IP methods
Since commit 7d1709d7f6 ("device: check may_fail when progressing to
IP_CHECK") NM correctly checks the may-fail properties to decide
whether a connection must fail after the completion of IP
configuration. But for ipv4.method=disabled and ipv6.method=ignore the
IP configuration is always considered failed and thus setting
may-fail=no results in a connection that can never succeed.

To prevent such wrong configuration, force may-fail to TRUE for those
methods during connection normalization.

https://bugzilla.redhat.com/show_bug.cgi?id=1334884
(cherry picked from commit ac73758305)
2016-07-06 10:12:27 +02:00
..
certs keyfile: support writing certificates as blob inside the keyfile 2015-03-12 18:16:58 +01:00
Makefile.am build: disable deprecation checks for internal compilation 2016-04-05 22:22:58 +02:00
test-compare.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
test-crypto.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
test-general-enums.h libnm-core: add enum conversion utilities 2015-07-24 14:02:59 +02:00
test-general.c libnm-core: ip-config: normalize may-fail for disabled IP methods 2016-07-06 10:12:27 +02:00
test-keyfile.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
test-secrets.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
test-setting-8021x.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
test-setting-bond.c libnm-core: add test cases for NMSettingBond 2016-03-29 18:10:05 +02:00
test-setting-dcb.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
test-settings-defaults.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00