* [dts] [PATCH] tests: nsh has to be loaded explicitly
@ 2019-09-11 22:45 Xinfeng Zhao
2019-09-12 6:54 ` Zhao, XinfengX
2019-09-20 6:07 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: Xinfeng Zhao @ 2019-09-11 22:45 UTC (permalink / raw)
To: dts; +Cc: Xinfeng Zhao
Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
---
tests/TestSuite_uni_pkt.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py
index 2b60320..9d0dcc4 100644
--- a/tests/TestSuite_uni_pkt.py
+++ b/tests/TestSuite_uni_pkt.py
@@ -438,6 +438,7 @@ class TestUniPacket(TestCase):
for packet in nsh_packets:
self.tester.scapy_foreground()
+ self.tester.scapy_append("from scapy.contrib.nsh import *")
self.tester.scapy_append("sendp([%s],iface='%s')" % (nsh_packets[packet], self.tester_iface))
self.tester.scapy_execute()
out = self.dut.get_session_output(timeout=2)
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH] tests: nsh has to be loaded explicitly
2019-09-11 22:45 [dts] [PATCH] tests: nsh has to be loaded explicitly Xinfeng Zhao
@ 2019-09-12 6:54 ` Zhao, XinfengX
2019-09-20 6:07 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Zhao, XinfengX @ 2019-09-12 6:54 UTC (permalink / raw)
To: dts; +Cc: Chen, Zhaoyan
Tested-by: Zhao, XinfengX <xinfengx.zhao@intel.com>
-----Original Message-----
From: Zhao, XinfengX
Sent: Thursday, September 12, 2019 6:45 AM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts][PATCH] tests: nsh has to be loaded explicitly
Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
---
tests/TestSuite_uni_pkt.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index 2b60320..9d0dcc4 100644
--- a/tests/TestSuite_uni_pkt.py
+++ b/tests/TestSuite_uni_pkt.py
@@ -438,6 +438,7 @@ class TestUniPacket(TestCase):
for packet in nsh_packets:
self.tester.scapy_foreground()
+ self.tester.scapy_append("from scapy.contrib.nsh import *")
self.tester.scapy_append("sendp([%s],iface='%s')" % (nsh_packets[packet], self.tester_iface))
self.tester.scapy_execute()
out = self.dut.get_session_output(timeout=2)
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH] tests: nsh has to be loaded explicitly
2019-09-11 22:45 [dts] [PATCH] tests: nsh has to be loaded explicitly Xinfeng Zhao
2019-09-12 6:54 ` Zhao, XinfengX
@ 2019-09-20 6:07 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-09-20 6:07 UTC (permalink / raw)
To: Zhao, XinfengX, dts; +Cc: Zhao, XinfengX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xinfeng Zhao
> Sent: Thursday, September 12, 2019 6:45 AM
> To: dts@dpdk.org
> Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
> Subject: [dts] [PATCH] tests: nsh has to be loaded explicitly
>
> Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
> ---
> tests/TestSuite_uni_pkt.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index
> 2b60320..9d0dcc4 100644
> --- a/tests/TestSuite_uni_pkt.py
> +++ b/tests/TestSuite_uni_pkt.py
> @@ -438,6 +438,7 @@ class TestUniPacket(TestCase):
>
> for packet in nsh_packets:
> self.tester.scapy_foreground()
> + self.tester.scapy_append("from scapy.contrib.nsh import *")
> self.tester.scapy_append("sendp([%s],iface='%s')" %
> (nsh_packets[packet], self.tester_iface))
> self.tester.scapy_execute()
> out = self.dut.get_session_output(timeout=2)
> --
> 2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-20 6:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11 22:45 [dts] [PATCH] tests: nsh has to be loaded explicitly Xinfeng Zhao
2019-09-12 6:54 ` Zhao, XinfengX
2019-09-20 6:07 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).