[ovs-dev,10/21] ofproto-macros.at: Add another strerror(0) value
diff mbox

Message ID 1445228952-22445-10-git-send-email-yamamoto@midokura.com
State Awaiting Upstream
Headers show

Commit Message

Takashi Yamamoto Oct. 19, 2015, 4:29 a.m. UTC
On NetBSD, strerror(0) is "Undefined error: 0".

Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>
---
 tests/ofproto-macros.at | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch
diff mbox

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)/
 '
 }