diff options
author | Hans Nilsson <[email protected]> | 2016-05-02 13:22:18 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-05-02 13:22:18 +0200 |
commit | d60b45e5c96026598db9b922f65d3eac24938b3f (patch) | |
tree | 22784acb69c3d6f56b15d7239a5e29ed865c8c7c /lib/ssh/test | |
parent | cce629e48e7de36acce614903386cf637040ba58 (diff) | |
parent | e334fbf5671724f2e404b032795310f2e6425944 (diff) | |
download | otp-d60b45e5c96026598db9b922f65d3eac24938b3f.tar.gz otp-d60b45e5c96026598db9b922f65d3eac24938b3f.tar.bz2 otp-d60b45e5c96026598db9b922f65d3eac24938b3f.zip |
Merge branch 'hans/ssh/doc_sftp_error_codes/ERL-86/OTP-13347'
Diffstat (limited to 'lib/ssh/test')
-rw-r--r-- | lib/ssh/test/ssh_sftp_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_sftp_SUITE.erl b/lib/ssh/test/ssh_sftp_SUITE.erl index 17ea1887be..f6d7be41d6 100644 --- a/lib/ssh/test/ssh_sftp_SUITE.erl +++ b/lib/ssh/test/ssh_sftp_SUITE.erl @@ -424,7 +424,7 @@ remove_file(Config) when is_list(Config) -> ok = ssh_sftp:delete(Sftp, FileName), {ok, NewFiles} = ssh_sftp:list_dir(Sftp, PrivDir), false = lists:member(filename:basename(FileName), NewFiles), - {error, _} = ssh_sftp:delete(Sftp, FileName). + {error, no_such_file} = ssh_sftp:delete(Sftp, FileName). %%-------------------------------------------------------------------- rename_file() -> [{doc, "Test API function rename_file/2"}]. |