[Spice-devel] [spice 2/8] tests: migrate: use uri for default's spicy client

Frediano Ziglio fziglio at redhat.com
Wed Sep 25 09:27:28 UTC 2019


> 
> From: Victor Toso <me at victortoso.com>
> 
> Signed-off-by: Victor Toso <victortoso at redhat.com>
> ---
>  tests/migrate.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/migrate.py b/tests/migrate.py
> index 0c302c92..5a0f5930 100755
> --- a/tests/migrate.py
> +++ b/tests/migrate.py
> @@ -96,8 +96,8 @@ def start_qemu(qemu_exec, image, spice_port, qmp_filename,
> incoming_port=None, e
>      return proc
>  
>  def start_client(client, spice_port):
> -    return Popen(("%(client)s -h localhost -p %(port)d" %
> dict(port=spice_port,
> -        client=client)).split(), executable=client)
> +    client_cmd = "spicy --uri spice://localhost:%s" % (spice_port)
> +    return Popen(client_cmd.split(), executable=client)
>  
>  def wait_active(q, active):
>      events = ["RESUME"] if active else ["STOP"]

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list