From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 9FB779951 for ; Wed, 16 Aug 2017 11:03:54 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Aug 2017 02:03:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,382,1498546800"; d="scan'208";a="1183287465" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 16 Aug 2017 02:03:53 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Wed, 16 Aug 2017 17:05:09 +0800 Message-Id: <1502874309-75918-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] fix quota_watermark example setup failed X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2017 09:03:55 -0000 qw/qwctrl example application path error in test script. So qw/qwctrl setup failed in test Signed-off-by: xu,huilong --- 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