aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/CMakeLists.txt
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2018-07-04 17:26:39 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-03 16:43:03 +0200
commit708f1277884599ec3bcb9ff707ced710ef8a1f62 (patch)
treef968c3de264fd34054501e01e8232d22572d19f5 /tests/unittests/CMakeLists.txt
parentdd3d867452b8e358cb998527678a518ee5617ab1 (diff)
downloadlibssh-708f1277884599ec3bcb9ff707ced710ef8a1f62.tar.gz
libssh-708f1277884599ec3bcb9ff707ced710ef8a1f62.tar.xz
libssh-708f1277884599ec3bcb9ff707ced710ef8a1f62.zip
tests: Add test for RSA PKI running on threads
Run the tests from torture_pki_rsa.c on threads. Tests requiring files to be removed are not tested, since they would require the access to the files to be synchronized. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/unittests/CMakeLists.txt')
-rw-r--r--tests/unittests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt
index f8a7f467..fcb087f7 100644
--- a/tests/unittests/CMakeLists.txt
+++ b/tests/unittests/CMakeLists.txt
@@ -41,6 +41,8 @@ if (UNIX AND NOT WIN32)
target_link_libraries(torture_threads_buffer Threads::Threads)
add_cmocka_test(torture_threads_crypto torture_threads_crypto.c ${TORTURE_LIBRARY})
target_link_libraries(torture_threads_crypto Threads::Threads)
+ add_cmocka_test(torture_threads_pki_rsa torture_threads_pki_rsa.c ${TORTURE_LIBRARY})
+ target_link_libraries(torture_threads_pki_rsa Threads::Threads)
# Not working correctly
#if (WITH_SERVER)