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

Alon Levy alevy at redhat.com
Mon Oct 21 10:22:17 CEST 2013


---
 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
 
-- 
1.8.3.1



More information about the Spice-devel mailing list