[dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source code
yufengmx
yufengx.mo at intel.com
Thu Sep 12 09:54:40 CEST 2019
directory issue
change hard code of target source code directory.
Signed-off-by: yufengmx <yufengx.mo at intel.com>
---
tests/TestSuite_flow_classify_softnic.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_flow_classify_softnic.py b/tests/TestSuite_flow_classify_softnic.py
index a649a44..33f701e 100644
--- a/tests/TestSuite_flow_classify_softnic.py
+++ b/tests/TestSuite_flow_classify_softnic.py
@@ -72,7 +72,7 @@ class TestFlowClassifySoftnic(TestCase):
file = 'flow_classify_softnic.tar.gz'
src_file = r'./dep/%s' % file
dst1 = '/tmp'
- dst2 = '/root/dpdk/drivers/net/softnic'
+ dst2 = os.path.join(self.dut.base_dir, 'drivers/net/softnic')
self.dut.session.copy_file_to(src_file, dst1)
self.dut.send_expect("tar xf %s/%s -C %s" % (dst1, file, dst2), "#", 30)
--
2.21.0
More information about the dts
mailing list