diff options
author | Robert Noland <rnoland@2hip.net> | 2007-10-17 13:20:46 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-10-17 13:20:46 -0700 |
commit | e7523d337997018a86530266a8f3f88dd061c138 (patch) | |
tree | e0bd1c99b066b0f9a5a8619b9da1873ffff35b49 /tests | |
parent | 36120264ca8f43078f8748e022faeb9471edcb36 (diff) |
Fix a race in the auth test where client prevents server from being master.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth.c b/tests/auth.c index 4160d1de..9b6fca94 100644 --- a/tests/auth.c +++ b/tests/auth.c @@ -69,10 +69,10 @@ static void client() int drmfd, ret; /* XXX: Should make sure we open the same DRM as the master */ - drmfd = drm_open_any(); - wait_event(0, SERVER_READY); + drmfd = drm_open_any(); + /* Get a client magic number and pass it to the master for auth. */ auth.magic = 0; /* Quiet valgrind */ ret = ioctl(drmfd, DRM_IOCTL_GET_MAGIC, &auth); |