[PATCH] D17639: [asan] Fix recvfrom.cc testcase failure in large parallel tests run.

Yury Gribov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 03:01:03 PST 2016


ygribov added inline comments.

================
Comment at: test/asan/TestCases/Linux/recvfrom.cc:37
@@ +36,3 @@
+    serveraddr.sin_port = htons(kPortNum);
+  }
+  // Release the mutex since the server is ready now and kPortNum has proper
----------------
SO says (http://stackoverflow.com/questions/1075399/how-to-bind-to-any-available-port) that you can specify port 0 so that kernel selects it automatically for you.


Repository:
  rL LLVM

http://reviews.llvm.org/D17639





More information about the llvm-commits mailing list