diff options
author | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2018-07-04 17:26:39 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-08-03 16:43:03 +0200 |
commit | 708f1277884599ec3bcb9ff707ced710ef8a1f62 (patch) | |
tree | f968c3de264fd34054501e01e8232d22572d19f5 /tests/unittests/CMakeLists.txt | |
parent | dd3d867452b8e358cb998527678a518ee5617ab1 (diff) | |
download | libssh-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.txt | 2 |
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) |