ia64/xen-unstable

changeset 11018:724af97aea47

Fix the unit test to match the new way of allocating VNC ports.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Wed Aug 09 10:13:37 2006 +0100 (2006-08-09)
parents 009e250505e9
children e8bdf6a8b74a
files tools/python/xen/xm/tests/test_create.py
line diff
     1.1 --- a/tools/python/xen/xm/tests/test_create.py	Wed Aug 09 10:13:36 2006 +0100
     1.2 +++ b/tools/python/xen/xm/tests/test_create.py	Wed Aug 09 10:13:37 2006 +0100
     1.3 @@ -179,7 +179,8 @@ ne2000=0
     1.4  
     1.5                   'extra'       : ('VNC_VIEWER=%s:%d ' %
     1.6                                    (xen.xm.create.get_host_addr(),
     1.7 -                                   xen.xm.create.VNC_BASE_PORT + 1)),
     1.8 +                                   xen.xm.create.VNC_BASE_PORT +
     1.9 +                                   xen.xm.create.choose_vnc_display())),
    1.10                   'vnc'         : 1,
    1.11                   'vncviewer'   : 1,
    1.12