Refactoring the config files for spice tests.

Refactoring the config files by moving all the separate
cfg files per test to one, and removing the redundancies
set in each one. Refactoring the base tests-spice.cfg
to clean up the redundancies also and split up the tests
per platform to be tested on.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
Adding the ability to handle remote-viewer password tests.

Adding the functionality of passing a password different
then set, support negative testing, where rv_connection
is not established, and setting a password through the qemu monitor.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
shared/cfg/guest-os/Linux/RHEL/6.devel.*.cfg: ISO path

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
tests/rv_input.py: Minor changes.

- use yum instead of rpm,
- use nogpgcheck,
- EPEL repo link has i386 string instead of i686.
- use root account for installation.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
tests/rv_copyandpaste: Do no start vdagent and use root session.

Spice vdagent is started with gnome-session automatically and
use root session when needed since default user for spice
tests is non-root.
Do not fail test If gnome-session does not run.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
Moved verified established method from rv_connect to utils.

Moved verify established and an exception class from rv_connect
to utils_spice, to make it accessible by all spice tests.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
Adding a test for a clean exit of guest VM shutdown.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
Adding a test to shutdown both VMs for spice tests.

Adding client_guest_shutdown test to replace the default
shutdown test to shutdown both VMs used for the spice tests.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
shared/unattended/RHEL-6.3.ks: Start X when booting.

Start X right after boot and create test user to be used
for Spice related tests.

Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
tests/fullscreen_setup: Do not startx.

X and gnome session is started automatically after boot
for Spice related tests.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
tests/rv_logging: Use root session when needed.

Since Spice tests use test (non-root) user, use root
session when root privileges are needed.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
virttest/utils_spice: Get rid of startx function.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>