[ovs-dev] [PATCH 10/21] ofproto-macros.at: Add another strerror(0) value
YAMAMOTO Takashi
yamamoto at midokura.com
Mon Oct 19 04:29:01 UTC 2015
On NetBSD, strerror(0) is "Undefined error: 0".
Signed-off-by: YAMAMOTO Takashi <yamamoto at midokura.com>
---
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)/
'
}
--
2.3.8 (Apple Git-58)
More information about the dev
mailing list