From patchwork Mon Mar 13 11:03:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 125054 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2C3D241E81; Mon, 13 Mar 2023 03:47:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2678A406BC; Mon, 13 Mar 2023 03:47:56 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id CA7CB40151 for ; Mon, 13 Mar 2023 03:47:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678675675; x=1710211675; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=yhgtsyPjc+q2RULIrddPmka9/7JSvbbxlfvhYdiqjRA=; b=TBocGs+fX1i7z//rrOD37xvNGMKzPL7Psy6EjldbYeZD8qQPrzDQeKvU oyZsQ8E5QMiAuj09kEcq8vxIeWfbEZLGUDCH5RNvlJxnLcxtOIAwsHhvd 4cgnnzmncmXHWofXqJyCxwEo35amtregpJf4h7jdckCRySB2y0ym4nul/ /Om1VivoyonAiUYgSFlph3ZyoKc2dypflJlNZFa4sPqkyOhKWffdE8eZX Ta9UsWQyOhfnIqPEiM0dIy8fGEkttkXZSkEO9NZTZnJ8vC/8bt3yMGZWg YX1YJWZ38boIjZNyOCJw/D5a/g+plpel4erw4q2ddNnXJBzfXl3h8OOOU g==; X-IronPort-AV: E=McAfee;i="6500,9779,10647"; a="401913359" X-IronPort-AV: E=Sophos;i="5.98,254,1673942400"; d="scan'208";a="401913359" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2023 19:47:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10647"; a="1007821855" X-IronPort-AV: E=Sophos;i="5.98,254,1673942400"; d="scan'208";a="1007821855" Received: from unknown (HELO localhost.localdomain) ([10.239.252.96]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2023 19:47:52 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/short_live: optimize script Date: Mon, 13 Mar 2023 11:03:12 +0000 Message-Id: <20230313110312.1802790-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 ensure that dpdk testpmd exits normally. Signed-off-by: Jiale Song --- tests/TestSuite_short_live.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py index 518d168c..7a7810d5 100644 --- a/tests/TestSuite_short_live.py +++ b/tests/TestSuite_short_live.py @@ -153,6 +153,7 @@ class TestShortLiveApp(TestCase): self.verify(res is True, "there have port link is down") self.check_forwarding([0, 1], self.nic) + self.dut.send_expect("quit", "# ") def test_start_up_time(self): """