mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +09:00
tests: fix torture_server_x11 and add it to tests
Signed-off-by: Praneeth Sarode <praneethsarode@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Jakub Jelen
parent
1434f24911
commit
d92a057090
@@ -100,6 +100,7 @@ if (UNIX AND NOT WIN32)
|
|||||||
set(LIBSSH_THREAD_UNIT_TESTS
|
set(LIBSSH_THREAD_UNIT_TESTS
|
||||||
${LIBSSH_THREAD_UNIT_TESTS}
|
${LIBSSH_THREAD_UNIT_TESTS}
|
||||||
torture_unit_server
|
torture_unit_server
|
||||||
|
torture_server_x11
|
||||||
)
|
)
|
||||||
endif (WITH_SERVER)
|
endif (WITH_SERVER)
|
||||||
endif (UNIX AND NOT WIN32)
|
endif (UNIX AND NOT WIN32)
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#include "config.h"
|
||||||
|
|
||||||
#define LIBSSH_STATIC
|
#define LIBSSH_STATIC
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -6,8 +8,9 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include <libssh/libssh.h>
|
|
||||||
#include "torture.h"
|
#include "torture.h"
|
||||||
|
#include "torture_key.h"
|
||||||
|
#include <libssh/libssh.h>
|
||||||
|
|
||||||
#define TEST_SERVER_PORT 2222
|
#define TEST_SERVER_PORT 2222
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user