From d615c5e51268a23887e2d29b5828a0447ba5409b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 11 Jan 2017 12:55:46 -0800 Subject: Add IPC (UNIX domain sockets) for POSIX, and test suite. --- tests/CMakeLists.txt | 1 + tests/ipc.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tests/ipc.c (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 16389601..5f8dc7f9 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -55,6 +55,7 @@ endif () add_nng_test(bus 5) add_nng_test(idhash 5) add_nng_test(inproc 5) +add_nng_test(ipc 5) add_nng_test(list 5) add_nng_test(platform 5) add_nng_test(reqrep 5) diff --git a/tests/ipc.c b/tests/ipc.c new file mode 100644 index 00000000..69fe36d0 --- /dev/null +++ b/tests/ipc.c @@ -0,0 +1,18 @@ +// +// Copyright 2017 Garrett D'Amore +// +// This software is supplied under the terms of the MIT License, a +// copy of which should be located in the distribution where this +// file was obtained (LICENSE.txt). A copy of the license may also be +// found online at https://opensource.org/licenses/MIT. +// + +#include "convey.h" +#include "trantest.h" + + +// Inproc tests. + +TestMain("IPC Transport", { + trantest_test_all("ipc:///tmp/nng_ipc_test"); +}) -- cgit v1.2.3-70-g09d2