From patchwork Thu Nov 26 09:41:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Yamamoto X-Patchwork-Id: 548980 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (unknown [IPv6:2600:3c00::f03c:91ff:fe6e:bdf7]) by ozlabs.org (Postfix) with ESMTP id CFAA81402D2 for ; Thu, 26 Nov 2015 20:41:55 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=midokura-com.20150623.gappssmtp.com header.i=@midokura-com.20150623.gappssmtp.com header.b=CjJaJCLe; dkim-atps=neutral Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id CFD5310CBE; Thu, 26 Nov 2015 01:41:54 -0800 (PST) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v3.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id 6EF4B10CBC for ; Thu, 26 Nov 2015 01:41:54 -0800 (PST) Received: from bar3.cudamail.com (localhost [127.0.0.1]) by mx3v3.cudamail.com (Postfix) with ESMTPS id 056D0161CF3 for ; Thu, 26 Nov 2015 02:41:54 -0700 (MST) X-ASG-Debug-ID: 1448530912-03dd7b0fbd12b890001-byXFYA Received: from mx3-pf1.cudamail.com ([192.168.14.2]) by bar3.cudamail.com with ESMTP id KJarKXVvhLVM8ZDo (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 26 Nov 2015 02:41:52 -0700 (MST) X-Barracuda-Envelope-From: yamamoto@midokura.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.2 Received: from unknown (HELO mail-ig0-f175.google.com) (209.85.213.175) by mx3-pf1.cudamail.com with ESMTPS (RC4-SHA encrypted); 26 Nov 2015 09:41:47 -0000 Received-SPF: neutral (mx3-pf1.cudamail.com: 209.85.213.175 is neither permitted nor denied by SPF record at spf.mandrillapp.com) X-Barracuda-RBL-Trusted-Forwarder: 209.85.213.175 Received: by igcph11 with SMTP id ph11so7729204igc.1 for ; Thu, 26 Nov 2015 01:41:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=midokura-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+wYZNkPpy3EcdaxkW1dRU8kC0xV8n3fiD/3RALdUEq0=; b=CjJaJCLeYvOfnbN5tdV3QaasKiIw885kgHNibHTcpQu/k/lMCHvMk5hWcMYSOi7m0A L4Z0x4cKWbSO791RhSqKp7mxi+l+TdsnoSuzG/+6ba4/sb+e14/ciEwVK/7fzImQPFsc x5i7887zIkbisLXQCho0ng27HFRacRSRbhFy5tg3RMvmpjk38v30uJJBvmJLkBhWsC6L xKNBY7RkEWSlwikJcJAp8eoFKFjMtAp5NfWLTkO/DHkPqmEV4BkuNOn1QoqMSdlw61/Q MkYQPwXp/bD/MGDZNiO2YS5IzAqvXXjHdbxOVvg1rEUR+MvxtxQ8n8M43L6rnB3UHq6C a34w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+wYZNkPpy3EcdaxkW1dRU8kC0xV8n3fiD/3RALdUEq0=; b=DEkMEKLsl2vgCXozvx5FqQjH86Hetp0/oo4lpaW2s7J+Ag5h3yS9J9nKhGmrNf+/0X +8WatJi0xZvaa7H5X6s+X7zokhHYuhadEkYZ6ccDdWAaTRStvuuHqScaxjHHFvoWgBHf RTohBUeKMu3/BkrN012XExEZ5AxjC4ZmA5dNWtJN0z3+mqgzSRZiKpmdrtM2FBZL7Qbr A5mN3eKkJs+fzT7tssp/A5NRcCXCtAuVjX6EYHhHrfRDrHnYwNMyoqhXwkKOkM4dVp0u 5y1nW4WFiuxfp7lCCxf2tPopCajCg9uttOEcVlgnQr1AKhm1QGUslX51c6QRIcZ9iHFS A4Ng== X-Gm-Message-State: ALoCoQk8FQcqG/KyC8ZjR9qXWgvmhkb630yGbFfxru7uCN7wwcAdARiARKnZFvovYvnAY+Ksf4iv X-Received: by 10.98.73.137 with SMTP id r9mr38623057pfi.104.1448530906249; Thu, 26 Nov 2015 01:41:46 -0800 (PST) Received: from giraffe.local.net (p10241-ipngn1601marunouchi.tokyo.ocn.ne.jp. [180.0.103.241]) by smtp.gmail.com with ESMTPSA id t73sm26209455pfi.83.2015.11.26.01.41.41 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Nov 2015 01:41:42 -0800 (PST) X-CudaMail-Envelope-Sender: yamamoto@midokura.com From: YAMAMOTO Takashi To: dev@openvswitch.org X-CudaMail-MID: CM-V1-1125004839 X-CudaMail-DTE: 112615 X-CudaMail-Originating-IP: 209.85.213.175 Date: Thu, 26 Nov 2015 18:41:31 +0900 X-ASG-Orig-Subj: [##CM-V1-1125004839##][PATCH 2/3] ovn.at: Avoid using GNU sed extension Message-Id: <1448530892-4893-2-git-send-email-yamamoto@midokura.com> X-Mailer: git-send-email 2.4.9 (Apple Git-60) In-Reply-To: <1448530892-4893-1-git-send-email-yamamoto@midokura.com> References: <1448530892-4893-1-git-send-email-yamamoto@midokura.com> X-GBUdb-Analysis: 0, 209.85.213.175, Ugly c=0.50549 p=-0.511111 Source Normal X-MessageSniffer-Rules: 0-0-0-5334-c X-Barracuda-Connect: UNKNOWN[192.168.14.2] X-Barracuda-Start-Time: 1448530912 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.60 X-Barracuda-Spam-Status: No, SCORE=0.60 using per-user scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.0 tests=BSF_SC5_MJ1963, DKIM_SIGNED, RDNS_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.24740 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 0.10 RDNS_NONE Delivered to trusted network by a host with no rDNS 0.50 BSF_SC5_MJ1963 Custom Rule MJ1963 Cc: YAMAMOTO Takashi Subject: [ovs-dev] [PATCH 2/3] ovn.at: Avoid using GNU sed extension X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" Signed-off-by: YAMAMOTO Takashi Reviewed-by: Simon Horman --- tests/ovn.at | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ovn.at b/tests/ovn.at index de0a830..a4dbf96 100644 --- a/tests/ovn.at +++ b/tests/ovn.at @@ -566,7 +566,7 @@ ovn-sbctl dump-flows -- list multicast_group # more) list the VIFs on which the packet should be received. INPORT and the # OUTPORTs are specified as lport numbers, e.g. 11 for vif11. trim_zeros() { - sed 's/\(00\)\{1,\}$//' + sed 's/\(00\)\(00\)*$//' } for i in 1 2 3; do for j in 1 2 3; do @@ -775,7 +775,7 @@ ovn-sbctl show # more) list the VIFs on which the packet should be received. INPORT and the # OUTPORTs are specified as lport numbers, e.g. 1 for vif1. trim_zeros() { - sed 's/\(00\)\{1,\}$//' + sed 's/\(00\)\(00\)*$//' } for i in 1 2 3; do : > $i.expected @@ -952,7 +952,7 @@ sleep 1 # more) list the VIFs on which the packet should be received. INPORT and the # OUTPORTs are specified as lport numbers, e.g. 11 for vif11. trim_zeros() { - sed 's/\(00\)\{1,\}$//' + sed 's/\(00\)\(00\)*$//' } for i in 1 2 3; do for j in 1 2 3; do