1
0
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:
Aris Adamantiadis
2011-01-02 17:15:03 +01:00
parent ef1866db76
commit 2faaefade9

View File

@ -1,8 +1,7 @@
#include <stdio.h>
#include <libssh/libssh.h>
#include "torture.h" #include "torture.h"
#include <stdio.h>
static int verbosity = 0; static int verbosity = 0;
int torture_libssh_verbosity(void){ int torture_libssh_verbosity(void){
@ -10,16 +9,8 @@ int torture_libssh_verbosity(void){
} }
int main(int argc, char **argv) { int main(int argc, char **argv) {
int rc;
(void) argc; (void) argc;
(void) argv; (void) argv;
ssh_init(); return torture_run_tests();
rc = torture_run_tests();
ssh_finalize();
return rc;
} }