# HG changeset patch # User dan@guaranine.beaverton.ibm.com # Date 1133202122 0 # Node ID 85eef527ba7432f0e6de9eac1902e3487f31b43b # Parent 243265ade4045314ee4170436cc704afafda54cf Fix isConsoleDead() to actually run a command on the DomU, since a dead console is no longer exposed when attempting to attach. This makes test 04_memset_smallmem again able to detect console death and restart xenconsoled so that the rest of the tests can run on x86_64. diff -r 243265ade404 -r 85eef527ba74 tools/xm-test/lib/XmTestLib/Test.py --- a/tools/xm-test/lib/XmTestLib/Test.py Mon Nov 28 17:22:02 2005 +0000 +++ b/tools/xm-test/lib/XmTestLib/Test.py Mon Nov 28 18:22:02 2005 +0000 @@ -174,9 +174,11 @@ def isConsoleDead(): try: domain.start() console = XmConsole(domain.getName()) + console.runCmd("ls") except DomainError, e: return True except ConsoleError, e: + domain.destroy() return True domain.destroy()