From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0A601A0487 for ; Tue, 2 Jul 2019 10:53:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F35335B3C; Tue, 2 Jul 2019 10:53:42 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 0AC224C8F for ; Tue, 2 Jul 2019 10:53:40 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 01:19:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,442,1557212400"; d="scan'208";a="338879625" Received: from itecstvdts01.sh.intel.com ([10.67.111.114]) by orsmga005.jf.intel.com with ESMTP; 02 Jul 2019 01:19:25 -0700 From: yufengmx To: dts@dpdk.org Cc: yufengmx Date: Tue, 2 Jul 2019 16:20:34 +0800 Message-Id: <1562055634-176278-2-git-send-email-yufengx.mo@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1562055634-176278-1-git-send-email-yufengx.mo@intel.com> References: <1562055634-176278-1-git-send-email-yufengx.mo@intel.com> Subject: [dts] [PATCH V1]tests/keep_alive: fix wrong output message 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" fix wrong output message format in test case test_keep_alive. Signed-off-by: yufengmx --- tests/TestSuite_keep_alive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_keep_alive.py b/tests/TestSuite_keep_alive.py index e29ea8b..d9fc9b2 100644 --- a/tests/TestSuite_keep_alive.py +++ b/tests/TestSuite_keep_alive.py @@ -79,7 +79,7 @@ class TestKeepAlive(TestCase): p = re.compile(r'\d+') result = p.findall(out) amount = 2000 * len(self.dut_ports) - self.verify(str(amount) in result, "Wrong: can't get <%s> package") + self.verify(str(amount) in result, "Wrong: can't get <%d> package" % amount) def scapy_send_packet(self,nu): """ -- 1.9.3