unit-tests: Don't test Unix socket stream/services on Windows
This commit is contained in:
@@ -18,7 +18,9 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
static char* services[] = {
|
static char* services[] = {
|
||||||
|
#ifndef WIN32
|
||||||
"unix:///tmp/strongswan-test-service.sck",
|
"unix:///tmp/strongswan-test-service.sck",
|
||||||
|
#endif
|
||||||
"tcp://127.0.0.1:7766",
|
"tcp://127.0.0.1:7766",
|
||||||
"tcp://[::1]:7766",
|
"tcp://[::1]:7766",
|
||||||
};
|
};
|
||||||
@@ -121,7 +123,6 @@ START_TEST(test_async)
|
|||||||
stream_service_t *service;
|
stream_service_t *service;
|
||||||
stream_t *stream;
|
stream_t *stream;
|
||||||
|
|
||||||
|
|
||||||
lib->processor->set_threads(lib->processor, 8);
|
lib->processor->set_threads(lib->processor, 8);
|
||||||
|
|
||||||
service = lib->streams->create_service(lib->streams, services[_i], 1);
|
service = lib->streams->create_service(lib->streams, services[_i], 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user