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>
This commit is contained in:
Philip Withnall 2014-11-01 17:06:46 +00:00 committed by Pekka Paalanen
parent a434b7ba8e
commit 2097414a7c

View File

@ -66,7 +66,7 @@ client_test_proxy_destroy(void)
assert(registry != NULL); assert(registry != NULL);
wl_registry_add_listener(registry, &registry_listener, wl_registry_add_listener(registry, &registry_listener,
&counter); &counter);
wl_display_roundtrip(display); assert(wl_display_roundtrip(display) != -1);
assert(counter == 1); assert(counter == 1);