From patchwork Fri Jul 14 17:39:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi YAMAMOTO X-Patchwork-Id: 788683 X-Patchwork-Delegate: blp@nicira.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x8Km11RfPz9s65 for ; Sat, 15 Jul 2017 03:43:13 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id E71EFDB7; Fri, 14 Jul 2017 17:40:24 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 57A4FD9F for ; Fri, 14 Jul 2017 17:40:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id DA0583CB for ; Fri, 14 Jul 2017 17:40:20 +0000 (UTC) Received: from mfilter14-d.gandi.net (mfilter14-d.gandi.net [217.70.178.142]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id BCD3FFB87D; Fri, 14 Jul 2017 19:40:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter14-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter14-d.gandi.net (mfilter14-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 8UuSpxIL1-2V; Fri, 14 Jul 2017 19:40:18 +0200 (CEST) X-Originating-IP: 118.21.144.234 Received: from localhost.localdomain (i118-21-144-234.s30.a048.ap.plala.or.jp [118.21.144.234]) (Authenticated sender: yamamoto@ovn.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 4A40FFB883; Fri, 14 Jul 2017 19:40:16 +0200 (CEST) From: YAMAMOTO Takashi To: dev@openvswitch.org Date: Sat, 15 Jul 2017 02:39:46 +0900 Message-Id: <1500053986-38406-6-git-send-email-yamamoto@ovn.org> X-Mailer: git-send-email 2.5.4 (Apple Git-61) In-Reply-To: <1500053986-38406-1-git-send-email-yamamoto@ovn.org> References: <1500053986-38406-1-git-send-email-yamamoto@ovn.org> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: YAMAMOTO Takashi Subject: [ovs-dev] [PATCH 6/6] packet-type-aware.at: Avoid GNU extension X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org \t is GNU sed extension. Signed-off-by: YAMAMOTO Takashi Acked-by: Ben Pfaff --- tests/packet-type-aware.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/packet-type-aware.at b/tests/packet-type-aware.at index 1104078..2eee7f4 100644 --- a/tests/packet-type-aware.at +++ b/tests/packet-type-aware.at @@ -233,7 +233,7 @@ ovs-vsctl \ ### Verify datapath configuration AT_CHECK([ - ovs-appctl dpif/show | grep -v hit | sed 's/\t/ /g' | sed 's./[[0-9]]\{1,\}..' + ovs-appctl dpif/show | grep -v hit | sed "s/$(printf \\t)/ /g" | sed 's./[[0-9]]\{1,\}..' ], [0], [dnl br-in1: br-in1 65534: (dummy-internal)