Eshan Kelkar
4e239484fe
Use helper variable in connect_host()
...
According to libssh coding conventions, function
return values must not be directly passed to if-
or while- conditions. This rule was not being followed
in connect_host(). A helper variable has been introduced
which stores the return code of the functions which
is then passed to the if- conditions.
Signed-off-by: Eshan Kelkar <eshankelkar@galorithm.com >
Reviewed-by: Sahana Prasad <sahana@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2023-12-04 18:35:19 +01:00
Eshan Kelkar
d8790d06c4
Reformat tests/benchmarks/benchmarks.c
...
tests/benchmarks/benchmarks.c has been reformatted
according to current coding style.
Signed-off-by: Eshan Kelkar <eshankelkar@galorithm.com >
Reviewed-by: Sahana Prasad <sahana@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2023-12-04 18:35:13 +01:00
Jakub Jelen
e5a6dc6757
Allow building benchmarks without SFTP
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com >
2023-06-06 10:54:31 +02:00
Aris Adamantiadis
5dfc474fa8
Benchmarks: parse config files
2012-12-23 23:10:52 +01:00
Aris Adamantiadis
555d1a4347
benchmarks: fix some bugs
2011-09-02 11:43:07 +03:00
Aris Adamantiadis
3a5cc18b32
benchmarks: sftp_async + few changes
2011-09-02 11:43:07 +03:00
Aris Adamantiadis
b11567ed9b
benchmarks: refactoring + sync sftp tests
...
no surprise, sync sftp is much slower, even for localhost,
especially for download.
2011-09-02 11:43:07 +03:00
Aris Adamantiadis
faaf334aa3
benchmarks: added "data" option
2011-09-02 11:43:05 +03:00
Aris Adamantiadis
5d9cd8bf39
benchmarks: added raw_download test
2011-09-02 11:43:05 +03:00
Aris Adamantiadis
0b46f68c5f
Fixed compilation without argp.h available
2011-01-13 21:21:19 +01:00
Aris Adamantiadis
530c17e2ef
First real benchmark : raw SSH speed
2010-12-29 00:19:05 +01:00
Aris Adamantiadis
4fe1656cf8
Moved benchmarks to the tests/ directory
2010-12-28 13:17:27 +01:00