1#include <gtest/gtest.h>
2
3#include <base/system.h>
4
5#if defined(CONF_FAMILY_UNIX)
6TEST(Unix, Create)
7{
8 UNIXSOCKET Socket = net_unix_create_unnamed();
9 ASSERT_GE(Socket, 0);
10 net_unix_close(sock: Socket);
11}
12#endif
13