NetworkManager/tools
Dan Winship 08b91199fb libnm-glib: make test-networkmanager-service.py automatically exit with its parent
test-nm-client.c and test-remote-settings-client.c were using their
own assertion macros so they could kill the test service on assertion
failure. Except that some new code didn't get the memo and used the
g_assert* macros. Not to mention that sometimes the tests would crash
outside of an assertion macro.

We can make test-networkmanager-service.py notice that its parent has
crashed by opening a pipe between them and taking advantage of the
fact that the pipe will be automatically closed if the parent crashes.
So then test-networkmanager-service.py just has to watch for that, and
exit if the pipe closes.

Then that lets us drop the test_assert* macros and just use g_assert*
instead.
2014-08-01 12:12:42 -04:00
..
check-exports.sh tools: simplify symbol visiblity check script 2012-07-23 09:17:04 -05:00
debug-helper.py tools: move debug-helper.py from test/ to tools/ 2014-07-30 15:56:19 -04:00
doc-generator.xsl add tools directory and xsl for spec generation 2008-03-24 16:47:39 +00:00
Makefile.am tools: move libnm-glib's fake NM service implementations here 2014-07-30 15:56:29 -04:00
run-test-valgrind.sh valgrind: print absolute path 2013-07-30 11:39:28 +02:00
test-networkmanager-service.py libnm-glib: make test-networkmanager-service.py automatically exit with its parent 2014-08-01 12:12:42 -04:00
test-sudo-wrapper.sh nmtst: add nmtst_reexec_sudo() function 2014-06-05 18:12:57 +02:00