aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_sftp_SUITE.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-05-02 13:22:18 +0200
committerHans Nilsson <[email protected]>2016-05-02 13:22:18 +0200
commitd60b45e5c96026598db9b922f65d3eac24938b3f (patch)
tree22784acb69c3d6f56b15d7239a5e29ed865c8c7c /lib/ssh/test/ssh_sftp_SUITE.erl
parentcce629e48e7de36acce614903386cf637040ba58 (diff)
parente334fbf5671724f2e404b032795310f2e6425944 (diff)
downloadotp-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/ssh_sftp_SUITE.erl')
-rw-r--r--lib/ssh/test/ssh_sftp_SUITE.erl2
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"}].