mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
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>
This commit is contained in:
committed by
Andreas Schneider
parent
dd3d867452
commit
708f127788
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user