Searched defs:sync_fds (Results 1 - 1 of 1) sorted by relevance

/sssd/src/tests/
H A Dcommon_dbus.c37 int sync_fds[2]; member in struct:mock_server
64 verify_eq (write(mock->sync_fds[0], "X", 1), 1);
88 verify_eq (write(mock->sync_fds[1], "X", 1), 1);
118 tevent_add_fd(loop, ctx, mock->sync_fds[1], TEVENT_FD_READ,
122 verify_eq (write(mock->sync_fds[1], "X", 1), 1);
154 verify_eq (socketpair(PF_LOCAL, SOCK_STREAM, 0, mock->sync_fds), 0);
166 verify_eq (read(mock->sync_fds[0], &dummy, 1), 1);
173 verify_eq (read(mock->sync_fds[0], &dummy, 1), 1);

Completed in 11 milliseconds