mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 10:26:47 +09:00
tests: Add torture_server_x11 test.
torture_server_x11 tests whether a libssh server can correctly parse an X11 request. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
4bde48bb2e
commit
6b7f275c32
@@ -15,4 +15,7 @@ if (UNIX AND NOT WIN32)
|
||||
add_cmocka_test(torture_rand torture_rand.c ${TORTURE_LIBRARY})
|
||||
# requires /dev/null
|
||||
add_cmocka_test(torture_channel torture_channel.c ${TORTURE_LIBRARY})
|
||||
if (WITH_SERVER AND Threads_FOUND)
|
||||
add_cmocka_test(torture_server_x11 torture_server_x11.c ${TORTURE_LIBRARY})
|
||||
endif (WITH_SERVER AND Threads_FOUND)
|
||||
endif (UNIX AND NOT WIN32)
|
||||
|
||||
Reference in New Issue
Block a user