diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-07-24 01:13:33 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-07-24 01:13:33 +0200 |
commit | f80537e3e079ffa18f3b42aff05848fe0407171a (patch) | |
tree | 353d7cc8835198210cfbdb04c0399348a17b5fcd /src/or/test.c | |
parent | 884c621aa73edd9727cb97ef249cefdaf8ec4741 (diff) | |
download | tor-f80537e3e079ffa18f3b42aff05848fe0407171a.tar.gz tor-f80537e3e079ffa18f3b42aff05848fe0407171a.zip |
Fix unit tests.
Now that we require EntryStatistics to be 1 for counting connecting
clients, unit tests need to set that config option, too.
Reported by Sebastian Hahn.
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/test.c b/src/or/test.c index b2a70eadb3..3103eed828 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -4799,6 +4799,7 @@ main(int c, char**v) setup_directory(); options_init(options); options->DataDirectory = tor_strdup(temp_dir); + options->EntryStatistics = 1; if (set_options(options, &errmsg) < 0) { printf("Failed to set initial options: %s\n", errmsg); tor_free(errmsg); |