direct-io.hg

changeset 7859:c2f0ed9158ad

Update 01_pause_basic test for new console behavior.
author dan@guaranine.beaverton.ibm.com
date Thu Nov 17 11:58:36 2005 +0100 (2005-11-17)
parents 234b3d608c86
children 88c2d4bbe7c9
files tools/xm-test/tests/pause/01_pause_basic_pos.py
line diff
     1.1 --- a/tools/xm-test/tests/pause/01_pause_basic_pos.py	Thu Nov 17 11:56:13 2005 +0100
     1.2 +++ b/tools/xm-test/tests/pause/01_pause_basic_pos.py	Thu Nov 17 11:58:36 2005 +0100
     1.3 @@ -49,12 +49,9 @@ status, output = traceCommand("xm pause 
     1.4  if status != 0:
     1.5  	FAIL("xm pause returned invalid %i != 0", status)
     1.6  
     1.7 -# Attach a console to it
     1.8 +# Try to attach a console to it
     1.9  try:
    1.10      console = XmConsole(domain.getName(), historySaveCmds=True)
    1.11 -except ConsoleError, e:
    1.12 -    FAIL(str(e))
    1.13 -try:
    1.14      run = console.runCmd("ls")
    1.15      #If we get here, console attached to paused domain (unexpected)
    1.16      FAIL("console attached to supposedly paused domain")