[Spice-devel] [PATCH xf86-video-qxl] tests/xspice_util.py: fix hardcoded port

Uri Lublin uril at redhat.com
Mon Oct 21 11:00:03 CEST 2013


On 10/21/2013 11:22 AM, Alon Levy wrote:
> ---
>   tests/xspice_util.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/xspice_util.py b/tests/xspice_util.py
> index a2e8578..409a0fc 100755
> --- a/tests/xspice_util.py
> +++ b/tests/xspice_util.py
> @@ -57,7 +57,7 @@ def launch_xspice(port):
>       if not os.path.exists(basedir):
>           os.mkdir(basedir)
>       assert(os.path.exists(basedir))
> -    xspice = Process.new(['../scripts/Xspice', '--port', '8000', '--auto', '--audio-fifo-dir', basedir, '--disable-ticketing', ':15.0'])
> +    xspice = Process.new(['../scripts/Xspice', '--port', str(port), '--auto', '--audio-fifo-dir', basedir, '--disable-ticketing', ':15.0'])
>       xspice.audio_fifo_dir = basedir
>       return xspice
>   

ack.


More information about the Spice-devel mailing list