NetworkManager/src/libnm-core-impl/tests
Thomas Haller 991a20b4b2
libnm: fix comparing "ipv[46].dns" properties
nm_setting_diff() ends up calling the compare_fcn() hook. Previously,
the hook for "dns" was _nm_setting_property_compare_fcn_default()
and the hook for "dns-data" was _nm_setting_property_compare_fcn_ignore().

That's wrong. _nm_setting_property_compare_fcn_default() converts
the property to D-Bus and compares the GVariant. However, "dns" has
to_dbus_only_in_manager_process set, so it wouldn't

Fixes: 63eaf168d1 ('libnm: add "dns-data" replacement for "ipv[46].dns" properties on D-Bus')
2022-10-28 17:54:15 +02:00
..
certs crypto: support EC private keys 2022-08-04 09:46:06 +02:00
meson.build build: fix linking libnm-log-null into different test programs 2021-07-05 14:51:27 +02:00
nm-core-tests-enum-types.c.template build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-core-tests-enum-types.h.template build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
test-compare.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
test-crypto.c crypto: support EC private keys 2022-08-04 09:46:06 +02:00
test-general-enums.h all: adjust glib-mkenums annotations for automated formatting 2022-02-08 11:14:01 +01:00
test-general.c libnm/tests: use g_assert_cmpint() in ensure_diffs() test 2022-10-28 17:54:14 +02:00
test-keyfile.c keyfile: don't require verified profile in nm_keyfile_write() 2022-03-28 18:27:37 +02:00
test-secrets.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
test-setting.c libnm: fix comparing "ipv[46].dns" properties 2022-10-28 17:54:15 +02:00
test-settings-defaults.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00