NetworkManager/src/tests
Thomas Haller d175654fca config: refactor change-flags to be a cause/reason which triggered the change
For the most part, this patch just renames some change-flags, but
doesn't change much about them. The new name should better express
what they are.

A config-change signal can be emitted for different reasons:
when we receive a signal (SIGHUP, SIGUSR1, SIGUSR2) or for internal
reasons like resetting of no-auto-default or setting internal
values.

Depending on the reason, we want to perform different actions.
For example:
 - we reload the configuration from disk on SIGHUP, but not for
   SIGUSR1.
 - For SIGUSR1 and SIGHUP, we want to update-dns, but not for SIGUSR2.

Another part of the change-flags encodes which part of the configuration
actually changed. Often, these parts can only change when re-reading
from disk (e.g. a SIGUSR1 will not change any configuration inside
NMConfig).

Later, we will have more causes, and accordingly more fine-grained
effects of what should be done on reload.

(cherry picked from commit eb6140a772)
2016-06-10 11:14:37 +02:00
..
config config: refactor change-flags to be a cause/reason which triggered the change 2016-06-10 11:14:37 +02:00
Makefile.am core: add nm_utils_machine_id_read() and parse() util 2016-04-26 12:59:20 +02:00
test-dcb.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
test-general-with-expect.c all/tests: fix tests after adjusting glib logging level 2016-03-10 14:04:32 +01:00
test-general.c core: add nm_utils_ip6_address_same_prefix() util 2016-04-12 11:14:01 +02:00
test-ip4-config.c ip-config/tests: refactor tests to use utilities from "nm-test-utils.h" 2016-04-12 11:14:01 +02:00
test-ip6-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
test-resolvconf-capture.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
test-route-manager.c platform/tests/trivial: rename init_tests() and setup_tests() function 2016-04-12 11:14:01 +02:00
test-secret-agent.py use /usr/bin/env instead of /bin/env 2011-03-29 01:00:47 +02:00
test-systemd.c systemd: split "nm-sd.h" out of "nm-sd-adapt.h" 2016-03-11 11:02:12 +01:00
test-utils.c core: add nm_utils_get_secret_key() util 2016-04-26 12:59:20 +02:00
test-wired-defname.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00