From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3DD77A0A0C; Mon, 28 Jun 2021 17:20:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CBDA40692; Mon, 28 Jun 2021 17:20:34 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 4CAE14068A for ; Mon, 28 Jun 2021 17:20:32 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10029"; a="271832574" X-IronPort-AV: E=Sophos;i="5.83,306,1616482800"; d="scan'208";a="271832574" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2021 08:20:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,306,1616482800"; d="scan'208";a="425158084" Received: from sivswdev08.ir.intel.com ([10.237.217.47]) by orsmga002.jf.intel.com with ESMTP; 28 Jun 2021 08:20:25 -0700 From: Konstantin Ananyev To: dts@dpdk.org Cc: zbigniewx.sikora@intel.com, Konstantin Ananyev Date: Mon, 28 Jun 2021 16:20:15 +0100 Message-Id: <20210628152015.28156-1-konstantin.ananyev@intel.com> X-Mailer: git-send-email 2.18.0 Subject: [dts] [PATCH] tests/acl: fix acl suite impacted by Strip prompt in send_expect X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Without that fix TestSuite_acl.py fails to run all tests. Fixes: f7d4c0c12fc9 ("Strip prompt by default in send_expect") Suggested-by: Zbigniew Sikora Signed-off-by: Konstantin Ananyev --- tests/TestSuite_acl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_acl.py b/tests/TestSuite_acl.py index 5f403085..963f3fb5 100644 --- a/tests/TestSuite_acl.py +++ b/tests/TestSuite_acl.py @@ -100,7 +100,7 @@ class TestACL(TestCase): # grep FAILED test-acl.*.out for burst_size in ('15', '16', '17', '18', '23', '24', '25', '31', '32', '33', '34', '35', '47', '48', '51', '255', '256', '257'): acl_test_cmd = f'/bin/bash -x {self.test_acl_sh} {self.test_acl_bin} {self.acl_rules_dir} {alg} {burst_size}' - out = self.dut.send_expect(acl_test_cmd, '# ', 1200) + out = self.dut.send_expect(acl_test_cmd, '# ', 1200, trim_whitespace=False) self.verify('FAILED' not in out, f'for details see TestACL.log') self.logger.info('All tests have ended successfully') -- 2.26.3