On NetBSD, strerror(0) is "Undefined error: 0".
Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
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)
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev