autotest/autotest — Issue #159: RFE: spice/generic copy paste tests
Author: alon
Created: 2012-01-27 13:12:24+00:00
State: open

Depend on both issue 155 and issue 157.

Right now copy paste is just spice specific, but there were talks (citation needed, I know, somewhere on qemu-devel) to make this a generic can be implemented by spice or by vnc issue.

So that's just background, actually the requirement is for spice since it can do copy-paste today. The test would check copy from guest and paste in the client, and copy in the client and paste in the guest, for text and images (later maybe files too - but we don't support that yet I think). There is a standalone test already somewhere I can find, but generally the easiest test to start with would be:

linux guest, xsel for paste and copy
linux spice-gtk client, xsel on same DISPLAY.

Then using an additional channel (that autotest-kvm already supports using ssh to the guest I believe) to launch the guest side xsel and grab the results, comparing for failure/success.