From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V1] tests/ice_buffer_split: optimize scripts
Date: Wed, 26 Apr 2023 18:02:32 +0000 [thread overview]
Message-ID: <20230426180232.32329-1-songx.jiale@intel.com> (raw)
exit the scapy initiated in the test case to avoid affecting
the use of the session.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_ice_buffer_split.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_ice_buffer_split.py b/tests/TestSuite_ice_buffer_split.py
index 55d37ec6..5b71853c 100644
--- a/tests/TestSuite_ice_buffer_split.py
+++ b/tests/TestSuite_ice_buffer_split.py
@@ -668,6 +668,7 @@ class TestBufferSplit(TestCase):
if len(pkt_data) != 0:
pkt_data_list.append(pkt_data)
self.logger.info("pkt_data_list: {}".format(pkt_data_list))
+ self.tester.send_expect("quit()", "# ")
return pkt_data_list
def send_pkt_get_output(self, pkts, port_id, count=1):
--
2.17.1
next reply other threads:[~2023-04-26 10:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-26 18:02 Jiale Song [this message]
2023-05-25 2:17 ` lijuan.tu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230426180232.32329-1-songx.jiale@intel.com \
--to=songx.jiale@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).