From patchwork Thu Sep 17 07:03:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, XiX" X-Patchwork-Id: 78004 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1E402A04B6; Thu, 17 Sep 2020 09:01:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 066851D519; Thu, 17 Sep 2020 09:01:46 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id B49331D502 for ; Thu, 17 Sep 2020 09:01:43 +0200 (CEST) IronPort-SDR: cp/WcSOj0oodLAYkodC/W6tmIspm2gVYOHRJfsjDgxM2T8WEogy/pQT5QWK3UzkwoIwen39n5K N/eZ3YwDw5xQ== X-IronPort-AV: E=McAfee;i="6000,8403,9746"; a="223821032" X-IronPort-AV: E=Sophos;i="5.76,435,1592895600"; d="scan'208";a="223821032" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 00:01:42 -0700 IronPort-SDR: O0D8F6DSvgCQZqpAOZrcl+PtKQyOYPkV7lMeRZnP1COcOMRy0wuA8AJNcfNgjTrZveUCiWS04o cDrmDt3yvVwQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,435,1592895600"; d="scan'208";a="320122550" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.182.150]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 00:01:41 -0700 From: xizhan4x To: dts@dpdk.org Cc: xizhan4x Date: Thu, 17 Sep 2020 15:03:15 +0800 Message-Id: <1600326195-1519-1-git-send-email-xix.zhang@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] tests/TestSuite_ieee1588:change tester session to new session 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" change tester session to new session Signed-off-by: xizhan4x Tested-by: Zhang, XiX --- tests/TestSuite_ieee1588.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py index f15f3bd..74bc35d 100644 --- a/tests/TestSuite_ieee1588.py +++ b/tests/TestSuite_ieee1588.py @@ -105,9 +105,6 @@ class TestIeee1588(TestCase): out = self.send_session.get_session_before(timeout=20) self.send_session.send_expect("^C", "# ", 20) self.send_session.close() - out = self.send_session.get_session_output(timeout=20) - self.send_session.send_expect("^C", "# ", 20) - self.send_session.close() self.verify("0x88f7" in out, "Ether type is not PTP")