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 ());
 }
 


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 ());
 }
 
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to