diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | tests/ipc.c | 18 |
2 files changed, 19 insertions, 0 deletions
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 <garrett@damore.org> +// +// 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"); +}) |
