NetworkManager/src/core/tests
Beniamino Galvani c65ae9b1db core/tests: fix tests for nm_utils_shorten_hostname()
The test currently fails on systems where HOST_NAME_MAX != 64 (for
example, Alpine Linux). Update the test to not assume a predefined
maximum length.

Fixes: 9498702242 ('core: add nm_utils_shorten_hostname()')

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1149
2022-03-16 11:24:02 +01:00
..
config format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
meson.build core: rework IP configuration in NetworkManager using layer 3 configuration 2021-11-18 16:21:29 +01:00
test-core-with-expect.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
test-core.c core/tests: make test_machine_id_read() more robust against the test system 2022-02-10 19:06:33 +01:00
test-dcb.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
test-l3cfg.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
test-secret-agent.py all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
test-systemd.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
test-utils.c core/tests: fix tests for nm_utils_shorten_hostname() 2022-03-16 11:24:02 +01:00
test-wired-defname.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00