Commit graph

5 commits

Author SHA1 Message Date
Simon McVittie
9490157ef9 test-privserver: Exit if DBusLoop cannot be allocated
Otherwise, we'd just crash when we dereference the null pointer.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-07-15 13:54:59 +01:00
Simon McVittie
76296a5f0b test-privserver: Move cleanup of DBusLoop into test_service_data_free()
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-07-15 13:54:58 +01:00
Simon McVittie
68c490b356 test-privserver: Don't leak a copy of the server address
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-07-15 13:54:42 +01:00
Marc-André Lureau
e4d6b74b25 build-sys: drop DBUS_CMAKE
TEST_LISTEN is defined by the cmake/autotools (or meson) build systems.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-06-17 15:19:38 +04:00
Simon McVittie
9490e954d0 test-privserver: Move helper executable out of name-test/
This means we don't need to distinguish between DBUS_NAME_TEST_EXEC and
DBUS_TEST_EXEC any more, because all test helper executables are in the
same place, both during build and when installed (we don't install
test-privserver since no installed test requires it yet, but in
principle we could).

Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-12-13 13:08:00 +00:00
Renamed from test/name-test/test-privserver.c (Browse further)