|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [XM-TEST] Use explicit (IP id==packet size) on hping2 te
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 32013c5118d255044d451768ac65518705b9af73
# Parent 292b4d017d5654caf20a7726c11967bad6de5af5
[XM-TEST] Use explicit (IP id==packet size) on hping2 tests to avoid
problems with IP id==0
Signed-off-by: Jim Dykman <dykman@xxxxxxxxxx>
---
tools/xm-test/tests/network/03_network_local_tcp_pos.py | 4 ++--
tools/xm-test/tests/network/04_network_local_udp_pos.py | 4 ++--
tools/xm-test/tests/network/06_network_dom0_tcp_pos.py | 2 +-
tools/xm-test/tests/network/07_network_dom0_udp_pos.py | 2 +-
tools/xm-test/tests/network/12_network_domU_tcp_pos.py | 2 +-
tools/xm-test/tests/network/13_network_domU_udp_pos.py | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
diff -r 292b4d017d56 -r 32013c5118d2
tools/xm-test/tests/network/03_network_local_tcp_pos.py
--- a/tools/xm-test/tests/network/03_network_local_tcp_pos.py Fri May 19
15:58:46 2006 +0100
+++ b/tools/xm-test/tests/network/03_network_local_tcp_pos.py Fri May 19
16:01:08 2006 +0100
@@ -44,7 +44,7 @@ try:
lofails=""
for size in trysizes:
out = console.runCmd("hping2 127.0.0.1 -E /dev/urandom -q -c 20 "
- + "--fast -d " + str(size))
+ + "--fast -d " + str(size) + " -N " + str(size))
if out["return"]:
lofails += " " + str(size)
@@ -54,7 +54,7 @@ try:
ip = netdev.getNetDevIP()
for size in trysizes:
out = console.runCmd("hping2 " + ip + " -E /dev/urandom -q -c 20 "
- + "--fast -d "+ str(size))
+ + "--fast -d "+ str(size) + " -N " + str(size))
if out["return"]:
eth0fails += " " + str(size)
except ConsoleError, e:
diff -r 292b4d017d56 -r 32013c5118d2
tools/xm-test/tests/network/04_network_local_udp_pos.py
--- a/tools/xm-test/tests/network/04_network_local_udp_pos.py Fri May 19
15:58:46 2006 +0100
+++ b/tools/xm-test/tests/network/04_network_local_udp_pos.py Fri May 19
16:01:08 2006 +0100
@@ -43,7 +43,7 @@ try:
lofails=""
for size in trysizes:
out = console.runCmd("hping2 127.0.0.1 -E /dev/urandom -2 -q -c 20 "
- + "--fast -d " + str(size))
+ + "--fast -d " + str(size) + " -N " + str(size))
if out["return"]:
lofails += " " + str(size)
print out["output"]
@@ -54,7 +54,7 @@ try:
ip = netdev.getNetDevIP()
for size in trysizes:
out = console.runCmd("hping2 " + ip + " -E /dev/urandom -2 -q -c 20 "
- + "--fast -d " + str(size))
+ + "--fast -d " + str(size) + " -N " + str(size))
if out["return"]:
eth0fails += " " + str(size)
print out["output"]
diff -r 292b4d017d56 -r 32013c5118d2
tools/xm-test/tests/network/06_network_dom0_tcp_pos.py
--- a/tools/xm-test/tests/network/06_network_dom0_tcp_pos.py Fri May 19
15:58:46 2006 +0100
+++ b/tools/xm-test/tests/network/06_network_dom0_tcp_pos.py Fri May 19
16:01:08 2006 +0100
@@ -44,7 +44,7 @@ try:
dom0ip = netdev.getDom0AliasIP()
for size in trysizes:
out = console.runCmd("hping2 " + dom0ip + " -E /dev/urandom -q -c 20 "
- + "--fast -d " + str(size))
+ + "--fast -d " + str(size) + " -N " + str(size))
if out["return"]:
fails += " " + str(size)
print out["output"]
diff -r 292b4d017d56 -r 32013c5118d2
tools/xm-test/tests/network/07_network_dom0_udp_pos.py
--- a/tools/xm-test/tests/network/07_network_dom0_udp_pos.py Fri May 19
15:58:46 2006 +0100
+++ b/tools/xm-test/tests/network/07_network_dom0_udp_pos.py Fri May 19
16:01:08 2006 +0100
@@ -43,7 +43,7 @@ try:
dom0ip = netdev.getDom0AliasIP()
for size in trysizes:
out = console.runCmd("hping2 " + dom0ip + " -E /dev/urandom -2 -q -c
20"
- + " --fast -d " + str(size))
+ + " --fast -d " + str(size) + " -N " + str(size))
if out["return"]:
fails += " " + str(size)
print out["output"]
diff -r 292b4d017d56 -r 32013c5118d2
tools/xm-test/tests/network/12_network_domU_tcp_pos.py
--- a/tools/xm-test/tests/network/12_network_domU_tcp_pos.py Fri May 19
15:58:46 2006 +0100
+++ b/tools/xm-test/tests/network/12_network_domU_tcp_pos.py Fri May 19
16:01:08 2006 +0100
@@ -50,7 +50,7 @@ try:
ip2 = dst_netdev.getNetDevIP()
for size in pingsizes:
out = src_console.runCmd("hping2 " + ip2 + " -E /dev/urandom -q -c 20 "
- + "--fast -d " + str(size))
+ + "--fast -d " + str(size) + " -N " + str(size))
if out["return"]:
fails += " " + str(size)
print out["output"]
diff -r 292b4d017d56 -r 32013c5118d2
tools/xm-test/tests/network/13_network_domU_udp_pos.py
--- a/tools/xm-test/tests/network/13_network_domU_udp_pos.py Fri May 19
15:58:46 2006 +0100
+++ b/tools/xm-test/tests/network/13_network_domU_udp_pos.py Fri May 19
16:01:08 2006 +0100
@@ -50,7 +50,7 @@ try:
ip2 = dst_netdev.getNetDevIP()
for size in pingsizes:
out = src_console.runCmd("hping2 " + ip2 + " -E /dev/urandom -2 -q "
- + "-c 20 --fast -d " + str(size))
+ + "-c 20 --fast -d " + str(size) + " -N " + str(size))
if out["return"]:
fails += " " + str(size)
print out["output"]
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [XM-TEST] Use explicit (IP id==packet size) on hping2 tests to avoid,
Xen patchbot-unstable <=
|
|
|
|
|