mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
tests: Add a sftp benchmark test for write/read
The tests writes and reads a file of 128M. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -15,13 +15,18 @@ set(LIBSSH_CLIENT_TESTS
|
||||
torture_request_env)
|
||||
|
||||
if (WITH_SFTP)
|
||||
if (WITH_BENCHMARKS)
|
||||
set(SFTP_BENCHMARK_TESTS
|
||||
torture_sftp_benchmark)
|
||||
endif()
|
||||
set(LIBSSH_CLIENT_TESTS
|
||||
${LIBSSH_CLIENT_TESTS}
|
||||
torture_sftp_ext
|
||||
torture_sftp_canonicalize_path
|
||||
torture_sftp_dir
|
||||
torture_sftp_read
|
||||
torture_sftp_fsync)
|
||||
torture_sftp_fsync
|
||||
${SFTP_BENCHMARK_TESTS})
|
||||
endif (WITH_SFTP)
|
||||
|
||||
foreach(_CLI_TEST ${LIBSSH_CLIENT_TESTS})
|
||||
|
||||
Reference in New Issue
Block a user