From 93bf0ab6a358aedc551edde70d0ebd06843951a1 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 13 Sep 2019 16:59:17 +0200 Subject: [PATCH] tests: fix typos Signed-off-by: Aris Adamantiadis Reviewed-by: Andreas Schneider (cherry picked from commit 23c529c888fdb6a96ca45a5e1afd091afb4f36f0) --- tests/CMakeLists.txt | 2 +- tests/client/torture_rekey.c | 2 +- tests/server/torture_server.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a338af44..294038ef 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -119,7 +119,7 @@ if (CLIENT_TESTING OR SERVER_TESTING) file(COPY keys/id_ed25519 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/home/bob/.ssh/ FILE_PERMISSIONS OWNER_READ OWNER_WRITE) file(COPY keys/id_ed25519.pub DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/home/bob/.ssh/ FILE_PERMISSIONS OWNER_READ OWNER_WRITE) - # Allow to auth with bob his public keys on alice account + # Allow to auth with bob's public keys on alice account configure_file(keys/id_rsa.pub ${CMAKE_CURRENT_BINARY_DIR}/home/alice/.ssh/authorized_keys @ONLY) # append ECDSA public key file(READ keys/id_ecdsa.pub CONTENTS) diff --git a/tests/client/torture_rekey.c b/tests/client/torture_rekey.c index b8e93768..7c9d8127 100644 --- a/tests/client/torture_rekey.c +++ b/tests/client/torture_rekey.c @@ -72,7 +72,7 @@ static int session_setup(void **state) ssh_options_set(s->ssh.session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity); ssh_options_set(s->ssh.session, SSH_OPTIONS_HOST, TORTURE_SSH_SERVER); - /* Authenticate as alice with bob his pubkey */ + /* Authenticate as alice with bob's pubkey */ rc = ssh_options_set(s->ssh.session, SSH_OPTIONS_USER, TORTURE_SSH_USER_ALICE); assert_int_equal(rc, SSH_OK); diff --git a/tests/server/torture_server.c b/tests/server/torture_server.c index 3a23a3c4..518fc972 100644 --- a/tests/server/torture_server.c +++ b/tests/server/torture_server.c @@ -404,7 +404,7 @@ static void torture_server_auth_pubkey(void **state) session = s->ssh.session; assert_non_null(session); - /* Authenticate as alice with bob his pubkey */ + /* Authenticate as alice with bob's pubkey */ rc = ssh_options_set(session, SSH_OPTIONS_USER, TORTURE_SSH_USER_ALICE); assert_int_equal(rc, SSH_OK);