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>
(cherry picked from commit aaca395bd3)
This commit is contained in:
Andreas Schneider
2018-09-04 14:22:40 +02:00
parent 332df98fc9
commit 8954fccfdb
3 changed files with 146 additions and 3 deletions

View File

@@ -27,9 +27,10 @@ else (WITH_ZLIB)
set(WITH_LIBZ OFF)
endif (WITH_ZLIB)
if(WITH_BENCHMARKS)
if (WITH_BENCHMARKS)
set(UNIT_TESTING ON)
endif(WITH_BENCHMARKS)
set(CLIENT_TESTING ON)
endif()
if (WITH_STATIC_LIB)
set(BUILD_STATIC_LIB ON)