[dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source code
Tu, Lijuan
lijuan.tu at intel.com
Fri Sep 20 08:21:53 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yufengmx
> Sent: Thursday, September 12, 2019 3:55 PM
> To: dts at dpdk.org; Peng, Yuan <yuan.peng at intel.com>; Li, WenjieX A
> <wenjiex.a.li at intel.com>
> Cc: Mo, YufengX <yufengx.mo at intel.com>
> Subject: [dts] [PATCH V1 1/1] tests/flow_classify_softnic: fix target source
> code
>
> 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