test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/shutdown_api: replace new commands
  2021-03-19 16:57 [dts] [PATCH V1] tests/shutdown_api: replace new commands Chen Lingli
@ 2021-03-19  8:36 ` Chen, LingliX
  2021-03-19  9:02 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Chen, LingliX @ 2021-03-19  8:36 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

> -----Original Message-----
> From: Chen, LingliX
> Sent: Saturday, March 20, 2021 12:58 AM
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V1] tests/shutdown_api: replace new commands

Tested-by: Chen Lingli <linglix.chen@intel.com>

[-- Attachment #2: TestShutdownApi.log --]
[-- Type: application/octet-stream, Size: 66889 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/shutdown_api: replace new commands
  2021-03-19 16:57 [dts] [PATCH V1] tests/shutdown_api: replace new commands Chen Lingli
  2021-03-19  8:36 ` Chen, LingliX
@ 2021-03-19  9:02 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-03-19  9:02 UTC (permalink / raw)
  To: Chen, LingliX, dts; +Cc: Chen, LingliX

> According to dpdk commit ecf86ccb4b13 ("app/testpmd: remove duplicated
> offload display").
> replace new commands
> 
> Signed-off-by: Chen Lingli <linglix.chen@intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dts] [PATCH V1] tests/shutdown_api: replace new commands
@ 2021-03-19 16:57 Chen Lingli
  2021-03-19  8:36 ` Chen, LingliX
  2021-03-19  9:02 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Lingli @ 2021-03-19 16:57 UTC (permalink / raw)
  To: dts; +Cc: Chen Lingli

According to dpdk commit ecf86ccb4b13 ("app/testpmd: remove duplicated offload display").
replace new commands

Signed-off-by: Chen Lingli <linglix.chen@intel.com>
---
 tests/TestSuite_shutdown_api.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index c647870d..79d0bdd7 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -621,9 +621,8 @@ class TestShutdownApi(TestCase):
                 vlan_jumbo_size = jumbo_size + 4
             else:
                 vlan_jumbo_size = jumbo_size
-            out = self.dut.send_expect("show port cap %d" % port, "testpmd> ")
-            state = re.findall("VLAN stripped:\s*([a-z]*)", out)
-            if state[0] == 'on':
+            out = self.dut.send_expect("show port %d rx_offload configuration" % port, "testpmd> ")
+            if 'VLAN_STRIP' in out:
                 vlan_strip = True
             else:
                 vlan_strip = False
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-19  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 16:57 [dts] [PATCH V1] tests/shutdown_api: replace new commands Chen Lingli
2021-03-19  8:36 ` Chen, LingliX
2021-03-19  9:02 ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://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/ https://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


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