* [dts][PATCH V1] tests/ethtool let command execute on tester
@ 2022-11-21 9:17 Dukai Yuan
2022-11-22 7:40 ` lijuan.tu
0 siblings, 1 reply; 2+ messages in thread
From: Dukai Yuan @ 2022-11-21 9:17 UTC (permalink / raw)
To: dts; +Cc: Dukai Yuan
The original command is executed on the DUT.
But actually needs to be executed on the tester.
Modify the code to make the command execute on the tester.
Signed-off-by: Dukai Yuan <dukaix.yuan@intel.com>
---
tests/TestSuite_ethtool_stats.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_ethtool_stats.py b/tests/TestSuite_ethtool_stats.py
index abaf05a3..a148b7a9 100644
--- a/tests/TestSuite_ethtool_stats.py
+++ b/tests/TestSuite_ethtool_stats.py
@@ -56,7 +56,7 @@ class TestEthtoolStats(TestCase):
# make sure interface in link up status
src_intf, src_mac = self.link_topo
cmd = "ifconfig {0} up".format(src_intf)
- self.d_a_con(cmd)
+ self.tester.alt_session.send_expect(cmd, "# ")
# send out packet
for frame_size in self.frame_sizes:
headers_size = sum([HEADER_SIZE[x] for x in ["eth", "ip", "udp"]])
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dts][PATCH V1] tests/ethtool let command execute on tester
2022-11-21 9:17 [dts][PATCH V1] tests/ethtool let command execute on tester Dukai Yuan
@ 2022-11-22 7:40 ` lijuan.tu
0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2022-11-22 7:40 UTC (permalink / raw)
To: dts, Dukai Yuan; +Cc: Dukai Yuan
On Mon, 21 Nov 2022 17:17:43 +0800, Dukai Yuan <dukaix.yuan@intel.com> wrote:
> The original command is executed on the DUT.
> But actually needs to be executed on the tester.
> Modify the code to make the command execute on the tester.
>
> Signed-off-by: Dukai Yuan <dukaix.yuan@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-22 7:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-21 9:17 [dts][PATCH V1] tests/ethtool let command execute on tester Dukai Yuan
2022-11-22 7:40 ` lijuan.tu
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).