mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Make tests pass again by adding an opt hidden-service-dir to the example routerinfo output.
svn:r16980
This commit is contained in:
parent
ae33d3ead7
commit
283b95e463
1 changed files with 1 additions and 0 deletions
|
@ -2769,6 +2769,7 @@ test_dir_format(void)
|
|||
strlcat(buf2, pk1_str, sizeof(buf2));
|
||||
strlcat(buf2, "signing-key\n", sizeof(buf2));
|
||||
strlcat(buf2, pk2_str, sizeof(buf2));
|
||||
strlcat(buf2, "opt hidden-service-dir\n", sizeof(buf2));
|
||||
strlcat(buf2, "reject *:*\nrouter-signature\n", sizeof(buf2));
|
||||
buf[strlen(buf2)] = '\0'; /* Don't compare the sig; it's never the same
|
||||
* twice */
|
||||
|
|
Loading…
Add table
Reference in a new issue