From patchwork Mon Oct 19 04:29:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Yamamoto X-Patchwork-Id: 532126 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 24D4C1401E7 for ; Mon, 19 Oct 2015 15:30:22 +1100 (AEDT) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id A6B4610915; Sun, 18 Oct 2015 21:29:58 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v1.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id 0C95010921 for ; Sun, 18 Oct 2015 21:29:55 -0700 (PDT) Received: from bar3.cudamail.com (bar1 [192.168.15.1]) by mx3v1.cudamail.com (Postfix) with ESMTP id 8308B61871E for ; Sun, 18 Oct 2015 22:29:54 -0600 (MDT) X-ASG-Debug-ID: 1445228994-03dd7b1065b8500001-byXFYA Received: from mx3-pf2.cudamail.com ([192.168.14.1]) by bar3.cudamail.com with ESMTP id m6bHZv0SNAmF9bAm (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 18 Oct 2015 22:29:54 -0600 (MDT) X-Barracuda-Envelope-From: yamamoto@midokura.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.1 Received: from unknown (HELO mail-pa0-f52.google.com) (209.85.220.52) by mx3-pf2.cudamail.com with ESMTPS (RC4-SHA encrypted); 19 Oct 2015 04:29:48 -0000 Received-SPF: neutral (mx3-pf2.cudamail.com: 209.85.220.52 is neither permitted nor denied by SPF record at spf.mandrillapp.com) X-Barracuda-RBL-Trusted-Forwarder: 209.85.220.52 Received: by pacfv9 with SMTP id fv9so82057733pac.3 for ; Sun, 18 Oct 2015 21:29:48 -0700 (PDT) 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=S61snDPdWiYX5YwxNq8YYCwEOaNPOor+zOCF0NyPWpw=; b=DCIBh+B9siAwcn/UB596HiO+mg7DMuovNeKbX0IGpLY0M8PQ2FdYE/5oXBjsnbY7na BLZbHfRNu3tRB47aLJg3fhKyGDC6JYQLEVxIfH2LwTxY2S1s3Ae3J0U5HoU3U8WY7Vxm YOjVmdH57GfPVyrGOH98pyFm1LHXmHYlpIr5mRr99UGRHrdGPcoKM5+PujGDgAClxDkN jGb+VEFPKDwmYXyOFRpIk/keFvyQhDOsR/FMWz1mQYluBEqtWIPzG6YSwH0EbgrlGf22 2qVcymgwKJKgqVa3K5klXmkWV0DULhzcbu/ohmaihzJHMRmSjhY4RAAkn7duHQPFja87 VCIg== X-Gm-Message-State: ALoCoQmW0tmJT5dWum/BuXUhDN6NN949JCNhOTMFztQil/4eL477dPfLFmNh+mlvOAZR47EtyzKd X-Received: by 10.67.4.230 with SMTP id ch6mr32594770pad.11.1445228988496; Sun, 18 Oct 2015 21:29:48 -0700 (PDT) Received: from giraffe.local.net (p2916125-ipngn18101marunouchi.tokyo.ocn.ne.jp. [153.226.221.125]) by smtp.gmail.com with ESMTPSA id we9sm33794799pab.3.2015.10.18.21.29.47 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Oct 2015 21:29:48 -0700 (PDT) X-CudaMail-Envelope-Sender: yamamoto@midokura.com X-Barracuda-Apparent-Source-IP: 153.226.221.125 From: YAMAMOTO Takashi To: dev@openvswitch.org X-CudaMail-MID: CM-V2-1017022318 X-CudaMail-DTE: 101815 X-CudaMail-Originating-IP: 209.85.220.52 Date: Mon, 19 Oct 2015 13:29:01 +0900 X-ASG-Orig-Subj: [##CM-V2-1017022318##][PATCH 10/21] ofproto-macros.at: Add another strerror(0) value Message-Id: <1445228952-22445-10-git-send-email-yamamoto@midokura.com> X-Mailer: git-send-email 2.3.8 (Apple Git-58) In-Reply-To: <1445228952-22445-1-git-send-email-yamamoto@midokura.com> References: <1445228952-22445-1-git-send-email-yamamoto@midokura.com> X-GBUdb-Analysis: 0, 209.85.220.52, Ugly c=0.36638 p=-0.485714 Source Normal X-MessageSniffer-Rules: 0-0-0-3536-c X-Barracuda-Connect: UNKNOWN[192.168.14.1] X-Barracuda-Start-Time: 1445228994 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.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests=BSF_SC5_MJ1963, RDNS_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.23618 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 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 10/21] ofproto-macros.at: Add another strerror(0) value 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" On NetBSD, strerror(0) is "Undefined error: 0". Signed-off-by: YAMAMOTO Takashi --- tests/ofproto-macros.at | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index 94d7c86..368dade 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -28,7 +28,8 @@ prt==1 { sub(/[ \t]*$/, ""); print $0 } vconn_sub() { sed ' s/tcp:127.0.0.1:[0-9][0-9]*:/unix:/ -s/No error/Success/ +s/(No error)/(Success)/ +s/(Undefined error: 0)/(Success)/ ' }