From 33598ffe8d692f21eb49cb41afa60226e132a21c Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Tue, 20 Oct 2015 08:35:43 -0700 Subject: devices-test: Fix typo 'destroyes' in a comment --- tests/devices-test.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/devices-test.c b/tests/devices-test.c index 8f9feecc..450713e7 100644 --- a/tests/devices-test.c +++ b/tests/devices-test.c @@ -249,17 +249,18 @@ TEST(get_device_after_destroy) struct wl_touch *wl_touch; /* There's a race: - * 1) compositor destroyes device - * 2) client asks for the device, because it has not got - * new capabilities yet - * 3) compositor gets request with new_id for destroyed device + * 1) compositor destroys device + * 2) client asks for the device, because it has not received + * the new capabilities yet + * 3) compositor gets the request with a new_id for the + * destroyed device * 4) client uses the new_id * 5) client gets new capabilities, destroying the objects * - * If compositor just bail out in step 3) and does not create - * resource, then client gets error in step 4) - even though - * it followed the protocol (it just didn't know about new - * capabilities). + * If the compositor just bails out in step 3) and does not + * create the resource, then the client gets an error in step 4) + * - even though it followed the protocol (it just didn't know + * about new capabilities). * * This test simulates this situation */ -- cgit v1.2.1