aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2014-11-01 17:06:46 +0000
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-11-05 14:26:53 +0200
commit2097414a7c8febf89305e1945f51d7fa9972c41f (patch)
treef4fde0b325181a95abf1137513c91eaf7d297ff0 /tests
parentwayland-server: Abort if a read from a client gives 0 length (diff)
downloadwayland-2097414a7c8febf89305e1945f51d7fa9972c41f.tar
wayland-2097414a7c8febf89305e1945f51d7fa9972c41f.tar.gz
wayland-2097414a7c8febf89305e1945f51d7fa9972c41f.tar.bz2
wayland-2097414a7c8febf89305e1945f51d7fa9972c41f.tar.lz
wayland-2097414a7c8febf89305e1945f51d7fa9972c41f.tar.xz
wayland-2097414a7c8febf89305e1945f51d7fa9972c41f.tar.zst
wayland-2097414a7c8febf89305e1945f51d7fa9972c41f.zip
queue-test: Add another assertion
Ensure that the round trip succeeds. Signed-off-by: Philip Withnall <philip at tecnocode.co.uk> Signed-off-by: Karsten Otto <ottoka at posteo.de> Reviewed-by: Marek Chalupa <mchqwerty@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/queue-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/queue-test.c b/tests/queue-test.c
index 96f2100..6e2e932 100644
--- a/tests/queue-test.c
+++ b/tests/queue-test.c
@@ -66,7 +66,7 @@ client_test_proxy_destroy(void)
assert(registry != NULL);
wl_registry_add_listener(registry, &registry_listener,
&counter);
- wl_display_roundtrip(display);
+ assert(wl_display_roundtrip(display) != -1);
assert(counter == 1);