]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
unit-tests: Don't test Unix socket stream/services on Windows
authorMartin Willi <martin@revosec.ch>
Thu, 17 Oct 2013 13:09:17 +0000 (15:09 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 4 Jun 2014 13:53:00 +0000 (15:53 +0200)
src/libstrongswan/tests/suites/test_stream.c

index 2d3173d46929071294b3e7c748183b846bc0b44a..899306af2188da52d5906f4e152df0dd7b979499 100644 (file)
@@ -18,7 +18,9 @@
 #include <unistd.h>
 
 static char* services[] = {
+#ifndef WIN32
        "unix:///tmp/strongswan-test-service.sck",
+#endif
        "tcp://127.0.0.1:7766",
        "tcp://[::1]:7766",
 };
@@ -121,7 +123,6 @@ START_TEST(test_async)
        stream_service_t *service;
        stream_t *stream;
 
-
        lib->processor->set_threads(lib->processor, 8);
 
        service = lib->streams->create_service(lib->streams, services[_i], 1);