[dts] [PATCH V1] fix quota_watermark example setup failed

xu,huilong huilongx.xu at intel.com
Wed Aug 16 11:05:09 CEST 2017


qw/qwctrl example application path error in test script. So qw/qwctrl setup failed in test

Signed-off-by: xu,huilong <huilongx.xu at intel.com>
---
 tests/TestSuite_quota_watermark.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_quota_watermark.py b/tests/TestSuite_quota_watermark.py
index 72556ab..ecacf38 100644
--- a/tests/TestSuite_quota_watermark.py
+++ b/tests/TestSuite_quota_watermark.py
@@ -122,7 +122,7 @@ class TestQuotaWatermark(TestCase, IxiaPacketGenerator):
         Executes the main example app in the background.
         """
 
-        command = ('./examples/quota_watermark/qw/qw/%s/qw -c {core_mask}' % self.target +
+        command = ('./examples/quota_watermark/qw/%s/qw -c {core_mask}' % self.target +
                    ' -n {memory_channels} -- -p {port_mask} 2>&1 > output.log &')
         self.dut.send_expect(command.format(**locals()), '# ')
 
@@ -131,7 +131,7 @@ class TestQuotaWatermark(TestCase, IxiaPacketGenerator):
         Executes the control app and returns waiting for commands.
         """
 
-        command = './examples/quota_watermark/qwctl/qwctl/%s/qwctl -c 1 -n %s --proc-type=secondary'
+        command = './examples/quota_watermark/qwctl/%s/qwctl -c 1 -n %s --proc-type=secondary'
         command = command % (self.target, str(memory_channels))
         result = self.dut.send_expect(command, 'qwctl> ')
         self.verify('Error' not in result, 'qwctl app failed to execute')
-- 
1.9.3



More information about the dts mailing list