test suite reviews and discussions
 help / color / mirror / Atom feed
From: Chen Linglix <linglix.chen@intel.com>
To: dts@dpdk.org
Cc: Chen Linglix <linglix.chen@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_tso:update scapy_modules path
Date: Fri, 18 Sep 2020 11:05:25 +0800
Message-ID: <20200918030525.30064-1-linglix.chen@intel.com> (raw)

update scapy_modules path

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_tso.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py
index d0bff6c..e7b4a8c 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -106,7 +106,7 @@ class TestTSO(TestCase):
         Load vxlan or nvgre module to scapy.
         """
         cwd = os.getcwd()
-        dir_module = cwd + r'/' + 'dep'
+        dir_module = cwd + r'/' + 'dep' + '/scapy_modules'
         self.tester.scapy_append('sys.path.append("%s")' % dir_module)
         self.tester.scapy_append("from vxlan import VXLAN")
         self.tester.scapy_append('from nvgre import NVGRE')
-- 
1.8.3.1


             reply	other threads:[~2020-09-18  3:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18  3:05 Chen Linglix [this message]
2020-09-18  3:11 ` Chen, LingliX
2020-09-22  8:09   ` Ma, LihongX
2020-09-28  8:38 ` Tu, Lijuan

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=20200918030525.30064-1-linglix.chen@intel.com \
    --to=linglix.chen@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

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