Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Emily Bones
Tor
Commits
5b345c69
Commit
5b345c69
authored
Aug 13, 2020
by
Nick Mathewson
🌻
Browse files
Merge branch 'maint-0.4.2' into release-0.4.2
parents
feecf46e
45d98304
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/bug40099
0 → 100644
View file @
5b345c69
o Minor bugfixes (tests):
- Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run on
its own. Previously, it would exit with an error.
Fixes bug 40099; bugfix on 0.2.8.1-alpha.
src/test/test_rendcache.c
View file @
5b345c69
...
...
@@ -1101,6 +1101,7 @@ test_rend_cache_clean_v2_descs_as_dir(void *data)
desc
->
timestamp
=
now
;
desc
->
pk
=
pk_generate
(
0
);
e
->
parsed
=
desc
;
rend_cache_increment_allocation
(
rend_cache_entry_allocation
(
e
));
digestmap_set
(
rend_cache_v2_dir
,
key
,
e
);
/* Set the cutoff to minus 10 seconds. */
...
...
@@ -1250,4 +1251,3 @@ struct testcase_t rend_cache_tests[] = {
test_rend_cache_validate_intro_point_failure
,
0
,
NULL
,
NULL
},
END_OF_TESTCASES
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment