ia64/xen-unstable

changeset 8087:9964f27fd80b

Fix console handling; saveLog call was broken if ConsoleError occurred.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Sun Nov 27 10:46:26 2005 +0000 (2005-11-27)
parents 85a1a57320a6
children eb1169f92d81
files tools/xm-test/tests/create/14_create_blockroot_pos.py
line diff
     1.1 --- a/tools/xm-test/tests/create/14_create_blockroot_pos.py	Sun Nov 27 01:28:11 2005 +0000
     1.2 +++ b/tools/xm-test/tests/create/14_create_blockroot_pos.py	Sun Nov 27 10:46:26 2005 +0000
     1.3 @@ -36,6 +36,10 @@ waitForBoot()
     1.4  
     1.5  try:
     1.6      console = XmConsole(domain.getName(), historySaveCmds=True)
     1.7 +except ConsoleError, e:
     1.8 +    FAIL(str(e))
     1.9 +
    1.10 +try:
    1.11  #    console.debugMe = True
    1.12      console.sendInput("foo")
    1.13      run = console.runCmd("ls")