diff options
Diffstat (limited to 'bus/dispatch.c')
-rw-r--r-- | bus/dispatch.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bus/dispatch.c b/bus/dispatch.c index ca9a8433..8ed88dad 100644 --- a/bus/dispatch.c +++ b/bus/dispatch.c @@ -4791,6 +4791,11 @@ bus_unix_fds_passing_test(const DBusString *test_data_dir) if (!_dbus_close(two[0], &error)) _dbus_assert_not_reached("Failed to close pipe #2 "); + if (!(dbus_connection_can_send_type(foo, DBUS_TYPE_UNIX_FD))) + _dbus_assert_not_reached("Connection cannot do fd passing"); + + if (!(dbus_connection_can_send_type(bar, DBUS_TYPE_UNIX_FD))) + _dbus_assert_not_reached("Connection cannot do fd passing"); if (!dbus_connection_send (foo, m, NULL)) _dbus_assert_not_reached("Failed to send fds"); |