diff options
Diffstat (limited to 'lib/ssh/test/ssh_sftpd_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_sftpd_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssh/test/ssh_sftpd_SUITE.erl b/lib/ssh/test/ssh_sftpd_SUITE.erl index 70a0049730..42677b7613 100644 --- a/lib/ssh/test/ssh_sftpd_SUITE.erl +++ b/lib/ssh/test/ssh_sftpd_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2006-2020. All Rights Reserved. +%% Copyright Ericsson AB 2006-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -405,7 +405,7 @@ rename_file(Config) when is_list(Config) -> NewReqId1 = NewReqId + 1, file:copy(FileName, NewFileName), - %% No owerwrite + %% No overwrite {ok, <<?SSH_FXP_STATUS, ?UINT32(NewReqId1), ?UINT32(?SSH_FX_FILE_ALREADY_EXISTS), _/binary>>, _} = rename(FileName, NewFileName, Cm, Channel, NewReqId1, 6, @@ -685,7 +685,7 @@ access_outside_root(Config) when is_list(Config) -> BadFilePath = filename:join([BaseDir, bad]), ok = file:write_file(BadFilePath, <<>>), {Cm, Channel} = proplists:get_value(sftp, Config), - %% Try to access a file parallell to the RootDir: + %% Try to access a file parallel to the RootDir: try_access("/../bad", Cm, Channel, 0), %% Try to access the same file via the CWD which is /b relative to the RootDir: try_access("../../bad", Cm, Channel, 1). @@ -717,7 +717,7 @@ try_access(Path, Cm, Channel, ReqId) -> end end; _ -> - ct:fail("Completly unexpected return: ~p", [Return]) + ct:fail("Completely unexpected return: ~p", [Return]) end. %%-------------------------------------------------------------------- |