mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-21 01:20:20 +01:00
test: switch to SOCK_STREAM for the test sockets
SOCK_DGRAM gives us free message framing but the sockets we'll likely deal with (or at least *have* to handle) are stream. This was a leftover anyway from some debug testing. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
427d58a664
commit
626a13268e
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ peck_new(void)
|
|||
struct peck *peck = peck_create(NULL);
|
||||
|
||||
int sv[2];
|
||||
int rc = socketpair(AF_UNIX, SOCK_DGRAM|SOCK_NONBLOCK|SOCK_CLOEXEC, 0, sv);
|
||||
int rc = socketpair(AF_UNIX, SOCK_STREAM|SOCK_NONBLOCK|SOCK_CLOEXEC, 0, sv);
|
||||
munit_assert_int(rc, ==, 0);
|
||||
|
||||
struct ei *ei = ei_new(NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue