Xhiv - testing Handling Invalid Values in X libraries

Alan Coopersmith alan.coopersmith at oracle.com
Sun Jun 30 20:47:17 PDT 2013


On 05/25/13 10:15 AM, Alan Coopersmith wrote:
> So recently I was stuck trying to figure out how you would test what an
> X client library would do if it received a response no X server should
> ever send.   Most of our existing tests, like XTS, modify the client side
> to send requests to unmodified X servers to see how they respond, but skip
> testing how they handle invalid values returned from the X server.

It also came in handy today to test how to handle a valid response I don't know
how to make the server generate easily (a RandR GetProviderInfo call that
returned providers with multiple capabilities), so I went ahead and moved it
from my home dir into the xorg shared git repos with the other test suites:

http://cgit.freedesktop.org/xorg/test/xhiv

Others with xorg git repo access should feel free to commit to it as we do with
all our other non-xserver repos.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-test mailing list