Implement tests for sftp_rename

torture_sftp_rename has been added which
tries to rename an existing file (positive
test case) and tries to rename a file that
does not exist (negative test case).

Signed-off-by: Eshan Kelkar <eshankelkar@galorithm.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Eshan Kelkar
2023-04-21 03:24:15 +05:30
committed by Jakub Jelen
parent ef901829c1
commit bfa988a7c7
2 changed files with 122 additions and 1 deletions

View File

@@ -50,7 +50,8 @@ if (WITH_SFTP)
torture_sftp_dir
torture_sftp_read
torture_sftp_fsync
torture_sftp_hardlink
torture_sftp_hardlink
torture_sftp_rename
${SFTP_BENCHMARK_TESTS})
endif (WITH_SFTP)