WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix console runaway detection for the smallmem_neg test,

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix console runaway detection for the smallmem_neg test, following the changes
From: Xen staging patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 08 May 2006 13:58:10 +0000
Delivery-date: Mon, 08 May 2006 07:03:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID c2c02e425c0672204b90cc7757993e2fa0aec7f2
# Parent  bf56c745515fa0953cf28cea21ecb1a7107f7576
Fix console runaway detection for the smallmem_neg test, following the changes
to have Console included as part of the Domain object.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/xm-test/tests/create/16_create_smallmem_neg.py |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r bf56c745515f -r c2c02e425c06 
tools/xm-test/tests/create/16_create_smallmem_neg.py
--- a/tools/xm-test/tests/create/16_create_smallmem_neg.py      Sun May 07 
13:34:45 2006 +0100
+++ b/tools/xm-test/tests/create/16_create_smallmem_neg.py      Sun May 07 
14:00:05 2006 +0100
@@ -14,11 +14,9 @@ domain = XmTestDomain(extraConfig={"memo
 
 try:
     console = domain.start()
+    console.runCmd("ls")
 except DomainError, e:
     FAIL("Unable to start a domain with %i MB" % MEM)
-
-try:
-    console.runCmd("ls")
 except ConsoleError, e:
     if e.reason == RUNAWAY:
         print "Domain with %i MB has runaway console as expected" % MEM

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix console runaway detection for the smallmem_neg test, following the changes, Xen staging patchbot-unstable <=