diff options
Diffstat (limited to 'test/name-test')
-rw-r--r-- | test/name-test/test-privserver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/name-test/test-privserver.c b/test/name-test/test-privserver.c index 100e0cf2..39a98b7f 100644 --- a/test/name-test/test-privserver.c +++ b/test/name-test/test-privserver.c @@ -89,7 +89,11 @@ main (int argc, char *argv[]) if (!dbus_connection_add_filter (session, filter_session_message, testdata, NULL)) die ("couldn't add filter"); +#ifdef DBUS_CMAKE + server = dbus_server_listen (TEST_LISTEN, &error); +#else server = dbus_server_listen ("unix:tmpdir=/tmp", &error); +#endif if (!server) die (error.message); testdata->private_addr = dbus_server_get_address (server); |