Skip to contentSkip to conversation

Network Test Trivial Fix

PATCH Applied Daniel Stekloff 2 participants 2 messages Jan 9, 2006 – Jan 10, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Network Test Trivial Fix

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

# HG changeset patch
# User [email protected] # Node ID 9a84b4d4c33a01031245064fb22a93350b0a76c1 # Parent fbf58585008a9a8d4bec2d47ac64166c77d5bf7f

Changed ifconfig loopback to have 127.0.0.1, so ping will work.

tools/xm-test/tests/network/02_network_local_ping_pos.py +1 -1
diff -r fbf58585008a -r 9a84b4d4c33a tools/xm-test/tests/network/02_network_local_ping_pos.py
@@ -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")
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#1 lore raw
Quoted 3 lines · Daniel Stekloff

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.

Applied, thank you.

Ewan.