[Lldb-commits] [PATCH] D17106: Fix SocketTest on Windows

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 18 10:54:35 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL261240: Fix SocketTest on Windows. (authored by zturner).

Changed prior to commit:
  http://reviews.llvm.org/D17106?vs=47537&id=48360#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D17106

Files:
  lldb/trunk/unittests/Host/SocketAddressTest.cpp

Index: lldb/trunk/unittests/Host/SocketAddressTest.cpp
===================================================================
--- lldb/trunk/unittests/Host/SocketAddressTest.cpp
+++ lldb/trunk/unittests/Host/SocketAddressTest.cpp
@@ -33,11 +33,7 @@
     ASSERT_EQ (0, sa.GetPort ());
 
     ASSERT_TRUE (sa.SetToLocalhost (AF_INET6, 1139));
-#ifdef _WIN32
-    ASSERT_STREQ ("0:0:0:0:0:0:0:1", sa.GetIPAddress ().c_str ());
-#else
     ASSERT_STREQ ("::1", sa.GetIPAddress ().c_str ());
-#endif
     ASSERT_EQ (1139, sa.GetPort ());
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17106.48360.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160218/0a2d99f6/attachment.bin>


More information about the lldb-commits mailing list