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 B5F12A10DA for ; Wed, 31 Jul 2019 08:21:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8D2091C02F; Wed, 31 Jul 2019 08:21:17 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 915B01C011 for ; Wed, 31 Jul 2019 08:21:16 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6V69w50010594 for ; Tue, 30 Jul 2019 23:21:15 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=wJ2doVyDMfYvEuKWAwqj3dwN7kdv0hWZ8z6HtOjRkrY=; b=bDOT1A2S+8IQ6a/d+SzrOeMZ1EhRATugnfxbLgEb2WdwX/AddBFJ+yBjkRaWmRMhTWnA jH4kPDBiKxL06uPOEDUA+tkawDkkWoelJmUpvwqILRL6w5g4At3FXlszin5EthJeixmi /b46FFpW+LcGx0ltKf819cE3BDPG0k8sHJYA3nh7+JpmKswPzCTYI60L1ATy4yIWj7zW psZlE5JsCAy9R197sD4S28naeIXrODaWn3hY0W5tDloMohbHnOu4IMexXTGx9DXo2pZP FHKW6dlFjYZhMdfbvNkqsSH/XyzTuTsKuGciEc/QdWfQD/wGzfxAuFlrRIrXwaO+LKf9 6g== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2u0p4m6jjq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 30 Jul 2019 23:21:15 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 30 Jul 2019 23:21:13 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 30 Jul 2019 23:21:14 -0700 Received: from phanendra-system.marvell.com (unknown [10.28.11.20]) by maili.marvell.com (Postfix) with ESMTP id A3E6D3F703F; Tue, 30 Jul 2019 23:21:12 -0700 (PDT) From: To: CC: , , Phanendra Vukkisala Date: Wed, 31 Jul 2019 11:51:10 +0530 Message-ID: <1564554070-3254-1-git-send-email-pvukkisala@marvell.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-31_02:2019-07-31,2019-07-31 signatures=0 Subject: [dts] [PATCH] l2fwd: Kill l2fwd at end of test in case of running. 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" From: Phanendra Vukkisala Avoids failure of next tests, if l2fwd test is failed to kill because of other exceptions Signed-off-by: Phanendra Vukkisala --- tests/TestSuite_l2fwd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_l2fwd.py b/tests/TestSuite_l2fwd.py index 4908fb7..b064afd 100644 --- a/tests/TestSuite_l2fwd.py +++ b/tests/TestSuite_l2fwd.py @@ -241,7 +241,8 @@ class TestL2fwd(TestCase): """ Run after each test case. """ - pass + self.dut.send_expect("fg", "l2fwd|# ", 5) + self.dut.send_expect("^C", "# ", 5) def tear_down_all(self): """ -- 1.7.9.5