NetworkManager/tools
Thomas Haller 9628aabc2f tests: use libnm via pygobject in tools/test-networkmanager-service.py
tools/test-networkmanager-service.py is our NetworkManager stub server.

NetworkManager uses libnm(-core) heavily, for example to decide whether
a connection verifies (nm_connection_verify()) and for normalizing
connections (nm_connection_normalize()).

If the stub server wants to mimic NetworkManager, it also must use these
function. Luckily, we already can do so, by loading libnm using python
GObject introspection.

We already correctly set GI_TYPELIB_PATH search path, so that the
correct libnm is loaded -- provided that we build with introspection
enabled.

We still need to gracefully fail, if starting the stub server fails.
That requries some extra effort. If the stub server notices that
something is missing, it shall exit with status 77. That will cause
the tests to g_test_skip().
2018-05-11 16:51:20 +02:00
..
check-exports.sh tools/check-exports.sh: use ${NM} when available 2015-09-24 16:28:15 +02:00
create-exports-NetworkManager.sh settings: drop unmaintained ifnet settings plugin of Gentoo 2017-12-21 10:50:33 +01:00
debug-helper.py python: make dbus, gi examples, and debug-helper.py python3 ready 2017-12-04 11:21:40 +01:00
enums-to-docbook.pl docs: fix handling enums without explicit numeric value in "tools/enums-to-docbook.pl" 2017-01-04 09:33:50 +01:00
run-nm-test.sh build: set LD_LIBRARY_PATH and GI_TYPELIB_PATH variables in run-nm-test.sh 2018-05-11 16:51:20 +02:00
test-build.sh tools: add test script to build various configurations 2016-11-24 15:59:27 +01:00
test-networkmanager-service.py tests: use libnm via pygobject in tools/test-networkmanager-service.py 2018-05-11 16:51:20 +02:00
test-sudo-wrapper.sh nmtst: add nmtst_reexec_sudo() function 2014-06-05 18:12:57 +02:00