mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Fix a couple of routerstatus-based tests.
This commit is contained in:
parent
61a5a303f9
commit
bae5ba8073
@ -6906,7 +6906,8 @@ test_dir_matching_flags(void *arg)
|
||||
"r example hereiswhereyouridentitygoes 2015-08-30 12:00:00 "
|
||||
"192.168.0.1 9001 0\n"
|
||||
"m thisoneislongerbecauseitisa256bitmddigest33\n"
|
||||
"s\n";
|
||||
"s\n"
|
||||
"pr Link=4\n";
|
||||
const char *cp = ex_noflags;
|
||||
rs_noflags = routerstatus_parse_entry_from_string(
|
||||
area, &cp,
|
||||
@ -6920,6 +6921,7 @@ test_dir_matching_flags(void *arg)
|
||||
"r example hereiswhereyouridentitygoes 2015-08-30 12:00:00 " \
|
||||
"192.168.0.1 9001 0\n" \
|
||||
"m thisoneislongerbecauseitisa256bitmddigest33\n" \
|
||||
"pr Link=4\n" \
|
||||
"s %s\n", string); \
|
||||
cp = s; \
|
||||
rs = routerstatus_parse_entry_from_string( \
|
||||
@ -6977,7 +6979,8 @@ test_dir_assumed_flags(void *arg)
|
||||
"r example hereiswhereyouridentitygoes 2015-08-30 12:00:00 "
|
||||
"192.168.0.1 9001 0\n"
|
||||
"m thisoneislongerbecauseitisa256bitmddigest33\n"
|
||||
"s Fast Guard Stable\n";
|
||||
"s Fast Guard Stable\n"
|
||||
"pr Link=4\n";
|
||||
const char *eos = str1 + strlen(str1);
|
||||
|
||||
const char *cp = str1;
|
||||
|
Loading…
Reference in New Issue
Block a user