NetworkManager/src/tests
Thomas Haller ea6648cea1 all: replace uses of inet_aton() and friends
rpmdiff complains about uses of inet_aton, inet_makeaddr, inet_netof,
inet_ntoa under the IPv6 section:

   usr/sbin/NetworkManager on aarch64 i686 x86_64 ppc ppc64 ppc64le s390 s390x uses function inet_aton, which may impact IPv6 support

I think the warning is bogus, but refactor our code to avoid it.

Note that systemd code still uses them, so it don't avoid the rpmdiff
warning. But let's not diverge our systemd import from upstream for this.

- for NMSettingBond:validate_ip() also avoid g_strsplit_set() which
  allocates a full strv. Instead, we can do with one g_strdup().

- for test-resolvconf-capture.c, replace the functions with macros.
  Macros should be avoided usually, but for test asserts they are
  more convenient as they preserved the __FILE__:__LINE__ of where
  the assertion fails.
2017-06-02 14:07:10 +02:00
..
config config: add first_start paramter to NMConfig to detect restart 2017-04-20 14:29:00 +02:00
test-dcb.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
test-general-with-expect.c all: use "unsigned long" instead of "long unsigned" 2017-03-14 11:23:46 +01:00
test-general.c tests/general: allow error margin on comparing floats 2017-03-28 13:52:27 +02:00
test-ip4-config.c all: fix typos in documentation, translated strings and comments 2017-05-28 17:33:37 +02:00
test-ip6-config.c platform: support preferred source option for IPv6 routes 2017-03-06 15:20:25 +01:00
test-resolvconf-capture.c all: replace uses of inet_aton() and friends 2017-06-02 14:07:10 +02:00
test-route-manager.c device: keep NMNetns instance per device 2017-04-18 15:53:11 +02:00
test-secret-agent.py python: make test-secret-agent.py python3 ready 2016-12-14 19:00:42 +01:00
test-systemd.c logging: log device and connection along with the message 2017-03-24 12:42:09 +01:00
test-utils.c core: add assertions for network_id/stable_type 2017-01-09 14:50:33 +01:00
test-wired-defname.c build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00