Hi folks, I noticed that X11 request screen numbers show up in reverse byte order on the server from the client. The following patch set first corrects the error and then adds enough functionality to be able to test that the fix works.
Alan Dunn (4): messages: Add missing ntohl on X11 request screen number tests: Add port option to torture_ssh_session tests: Add ssh server setup functionality tests: Add torture_server test src/messages.c | 4 +- tests/client/torture_forward.c | 2 +- tests/client/torture_request_env.c | 2 +- tests/client/torture_sftp_dir.c | 2 +- tests/client/torture_sftp_read.c | 2 +- tests/torture.c | 61 ++++++++++++ tests/torture.h | 16 +++ tests/unittests/CMakeLists.txt | 4 + tests/unittests/torture_pki.c | 6 +- tests/unittests/torture_server.c | 193 ++++++++++++++++++++++++++++++++++++ 10 files changed, 282 insertions(+), 10 deletions(-) create mode 100644 tests/unittests/torture_server.c -- 1.7.9.5
