[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH][XM-TEST] Update test 01_pause for new console behavior
This patch fixes the 01_pause test that started breaking when I recently changed the console attach behavior. We clearly need to not fail if the console fails to attach to a paused domain. Signed-off-by: Dan Smith <danms@xxxxxxxxxx> # HG changeset patch # User dan@xxxxxxxxxxxxxxxxxxxxxxxxxxx # Node ID b3f0df7c3b1a6d9ffa0f05a588d50c122734a554 # Parent 89b1a2e54bafe21642ff227e0b7155cbd626f098 Update 01_pause_basic test for new console behavior. diff -r 89b1a2e54baf -r b3f0df7c3b1a tools/xm-test/tests/pause/01_pause_basic_pos.py --- a/tools/xm-test/tests/pause/01_pause_basic_pos.py Wed Nov 16 21:06:18 2005 +++ b/tools/xm-test/tests/pause/01_pause_basic_pos.py Wed Nov 16 22:22:54 2005 @@ -49,12 +49,9 @@ if status != 0: FAIL("xm pause returned invalid %i != 0", status) -# Attach a console to it +# Try to attach a console to it try: console = XmConsole(domain.getName(), historySaveCmds=True) -except ConsoleError, e: - FAIL(str(e)) -try: run = console.runCmd("ls") #If we get here, console attached to paused domain (unexpected) FAIL("console attached to supposedly paused domain") -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@xxxxxxxxxx _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |