test suite reviews and discussions
 help / color / Atom feed
* [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, back to index

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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox