Maarten Lankhorst <[email protected]> writes:

> The old code was broken and allowed setting client version >= XIVersion,
> this was fixed in the previous patch, but updating the value for XIVersion
> broke the tests, so fix the tests too.

Yeah, having the expected/checked versions explicitly listed in the
tests is way better than what I did in my patch.

However, I think what we probably want is to have a helper function that
takes a trio of server/client/expected versions so we can see those in
the same spot in the test and manually verify them. As written, it's
really hard to make sure the numbers are set correctly in the test_data
structure.

-- 
[email protected]

Attachment: pgpFPuJo1uL8c.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to