As of 2c23ef83b0e03e163aeeb06133538606886f4e9c, the server returns BadValue for the same client with multiple versions. Avoid this by resetting the client before we issue the same request as a fake swap client.
Signed-off-by: Peter Hutterer <[email protected]> --- test/xi2/protocol-xiqueryversion.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/test/xi2/protocol-xiqueryversion.c b/test/xi2/protocol-xiqueryversion.c index 3d50fa8..2552307 100644 --- a/test/xi2/protocol-xiqueryversion.c +++ b/test/xi2/protocol-xiqueryversion.c @@ -115,6 +115,7 @@ request_XIQueryVersion(int smaj, int smin, int cmaj, int cmin, int error) rc = ProcXIQueryVersion(&client); assert(rc == error); + client = init_client(request.length, &request); client.swapped = TRUE; swaps(&request.length); -- 1.7.7.6 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
