NetworkManager/libnm-core/tests
Thomas Haller 743377595d tests: replace NMTST_SWAP() by new NM_SWAP() macro
NMTST_SWAP() used memcpy() for copying the value, while NM_SWAP() uses
a temporary variable with typeof(). I think the latter is preferable.

Also, the macro is essentially doing the same thing.

(cherry picked from commit 6f9a478b7d)
2020-03-26 22:22:57 +01:00
..
certs libnm/crypto: accept TPM2-wrapped PEM keys 2019-07-10 17:31:48 +02:00
meson.build meson: Make use of gnome.mkenums_simple 2019-10-01 09:49:33 +02:00
nm-core-tests-enum-types.c.template build: use template files for enum types' sources generation 2017-12-18 11:25:06 +01:00
nm-core-tests-enum-types.h.template build: use template files for enum types' sources generation 2017-12-18 11:25:06 +01:00
test-compare.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
test-crypto.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
test-general-enums.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
test-general.c tests: replace NMTST_SWAP() by new NM_SWAP() macro 2020-03-26 22:22:57 +01:00
test-keyfile.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
test-secrets.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
test-setting.c nm-setting-bond: fix '[up|down]delay', 'miimon' validation 2020-02-28 15:47:37 +01:00
test-settings-defaults.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00