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:
parent
a434b7ba8e
commit
2097414a7c
|
@ -66,7 +66,7 @@ client_test_proxy_destroy(void)
|
||||||
assert(registry != NULL);
|
assert(registry != NULL);
|
||||||
wl_registry_add_listener(registry, ®istry_listener,
|
wl_registry_add_listener(registry, ®istry_listener,
|
||||||
&counter);
|
&counter);
|
||||||
wl_display_roundtrip(display);
|
assert(wl_display_roundtrip(display) != -1);
|
||||||
|
|
||||||
assert(counter == 1);
|
assert(counter == 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user