From: Daniel Stekloff Subject: [PATCH][XM-TEST] Network Test Trivial Fix Date: Mon, 09 Jan 2006 12:46:59 -0800 Message-ID: <1136839619.2745.13.camel@w-stekloff.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-v+Z01UqBJRaVltIVrvkK" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Mailing List Cc: Dan Smith , "Yu, Ping Y" , "Zheng, Jeff" , "Shi, Kuiliang" List-Id: xen-devel@lists.xenproject.org --=-v+Z01UqBJRaVltIVrvkK Content-Type: text/plain Content-Transfer-Encoding: 7bit Bring up lo device with address that test uses, otherwise test could fail to ping lo. We've seen this happen when testing with vmx enabled. Thanks, Dan --=-v+Z01UqBJRaVltIVrvkK Content-Disposition: attachment; filename=xm-test-02-network-lo-fix.patch Content-Type: text/x-patch; name=xm-test-02-network-lo-fix.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit # HG changeset patch # User stekloff@elm3b216.beaverton.ibm.com # Node ID 9a84b4d4c33a01031245064fb22a93350b0a76c1 # Parent fbf58585008a9a8d4bec2d47ac64166c77d5bf7f Changed ifconfig loopback to have 127.0.0.1, so ping will work. Signed-off-by: Daniel Stekloff diff -r fbf58585008a -r 9a84b4d4c33a tools/xm-test/tests/network/02_network_local_ping_pos.py --- a/tools/xm-test/tests/network/02_network_local_ping_pos.py Mon Jan 9 13:11:55 2006 +++ b/tools/xm-test/tests/network/02_network_local_ping_pos.py Mon Jan 9 20:43:38 2006 @@ -50,7 +50,7 @@ console.sendInput("bhs") # Bring up the "lo" interface. - console.runCmd("ifconfig lo up") + console.runCmd("ifconfig lo 127.0.0.1") console.runCmd("ifconfig eth0 inet "+ip+" netmask "+mask+" up") --=-v+Z01UqBJRaVltIVrvkK Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-v+Z01UqBJRaVltIVrvkK--