#include <mart-netlib/unix.hpp>

#include <mart-common/PrintWrappers.h>

#include <catch2/catch.hpp>

#include <filesystem>
#include <iostream>

TEST_CASE( "unix_domain_socket_simple_member_check1", "[.][net][unix_domain_socket]" )
{

	mart::nw::un::Socket sock1;
	mart::nw::un::Socket sock2(                    //
		mart::ConstString( "sock.local" ), //
		mart::ConstString( "sock.remote" ) //
	);
}
#include <mart-netlib/unix.hpp>

#include <mart-common/PrintWrappers.h>

#include <catch2/catch.hpp>

#include <filesystem>
#include <iostream>

TEST_CASE( "unix_domain_socket_simple_member_check1", "[.][net][unix_domain_socket]" )
{

	mart::nw::un::Socket sock1;
	mart::nw::un::Socket sock2(                    //
		mart::ConstString( "./__tmp__/sock2.local" ), //
		mart::ConstString( "./__tmp__/sock2.remote" ) //
	);
}
--- 
+++ 
@@ -12,7 +12,7 @@
 
 	mart::nw::un::Socket sock1;
 	mart::nw::un::Socket sock2(                    //
-		mart::ConstString( "./__tmp__/sock2.local" ), //
-		mart::ConstString( "./__tmp__/sock2.remote" ) //
+		mart::ConstString( "sock.local" ), //
+		mart::ConstString( "sock.remote" ) //
 	);
 }
[netlib/test] Use more suitable path for unix domain sockets in testcode
