From fb1209c72bbfd431b61fa4588785586d24ef67c9 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:06:30 +0900 Subject: More MSVC tests added Signed-off-by: Martin Sustrik --- tests/linger.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'tests/linger.cpp') diff --git a/tests/linger.cpp b/tests/linger.cpp index f76be39..5c0480c 100644 --- a/tests/linger.cpp +++ b/tests/linger.cpp @@ -20,13 +20,6 @@ #include "testutil.hpp" -#if defined XS_HAVE_WINDOWS -int XS_TEST_MAIN () -{ - return 0; -} -#else - int XS_TEST_MAIN () { fprintf (stderr, "linger test running...\n"); @@ -43,7 +36,7 @@ int XS_TEST_MAIN () // Connect to non-existent endpoing. assert (rc == 0); - rc = xs_connect (s, "ipc:///tmp/this-file-does-not-exist"); + rc = xs_connect (s, "tcp://127.0.0.1:5560"); assert (rc == 0); // Send a message. @@ -63,5 +56,3 @@ int XS_TEST_MAIN () return 0; } - -#endif \ No newline at end of file -- cgit v1.2.3