Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
tests/test-unix-socket.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/test-unix-socket.py b/tests/test-unix-socket.py
index 5a3f3c0..f55f6c3 100644
--- a/tests/test-unix-socket.py
+++ b/tests/test-unix-socket.py
@@ -40,6 +40,7 @@ def main(argv):
if error:
sys.stderr.write("%s: bind failed (%s)" % (sockname1,
os.strerror(error)))
+ sys.exit(1)
sock1.listen(1)
# Connect to 'sockname2' (which should be the same file, perhaps under a
@@ -49,6 +50,7 @@ def main(argv):
if error:
sys.stderr.write("%s: connect failed (%s)" % (sockname2,
os.strerror(error)))
+ sys.exit(1)
if __name__ == '__main__':
main(sys.argv)
--
1.8.3.1
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev