mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
Revert "tests: Call ssh_init() and ssh_finalize() before we run the tests."
Reason: breaks test_rand, because threading has to be initialized
before ssh_init()
This reverts commit ef1866db76
.
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <libssh/libssh.h>
|
||||
|
||||
#include "torture.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
static int verbosity = 0;
|
||||
|
||||
int torture_libssh_verbosity(void){
|
||||
@ -10,16 +9,8 @@ int torture_libssh_verbosity(void){
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int rc;
|
||||
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
|
||||
ssh_init();
|
||||
|
||||
rc = torture_run_tests();
|
||||
|
||||
ssh_finalize();
|
||||
|
||||
return rc;
|
||||
return torture_run_tests();
|
||||
}
|
||||
|
Reference in New Issue
Block a user