================
@@ -349,6 +349,10 @@ TEST_F(SocketTest, DomainSocketFromBoundNativeSocket) {
   ASSERT_FALSE(EC);
   llvm::sys::path::append(name, "test");
 
+  // Skip the test if the $TMPDIR is too long to hold a domain socket.
+  if (name.size() > 107u)
+    return;
----------------
JDevlieghere wrote:

```suggestion
  if (name.size() > 107u)
    GTEST_SKIP() << "$TMPDIR is too long to hold a domain socket";
```

https://github.com/llvm/llvm-project/pull/137405
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to