summaryrefslogtreecommitdiff
path: root/tests/linger.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.cpm>2012-02-16 10:06:30 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:06:30 +0900
commitfb1209c72bbfd431b61fa4588785586d24ef67c9 (patch)
tree6c33ac55809c64e57e44b347879fe297e894be5e /tests/linger.cpp
parent0d384b7944c20f3389c2be9363afac99783d776a (diff)
More MSVC tests added
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
Diffstat (limited to 'tests/linger.cpp')
-rw-r--r--tests/linger.cpp11
1 files changed, 1 insertions, 10 deletions
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