test_options.c uses some very wonky options objects.
In test_options, see this unfortunate comment:
// XXX: Really, all of these options should be set to defaults
// with options_init(), but about a dozen tests break when I do that.
This is something we need to fix to make the options tests reasonable.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Nick Mathewson changed milestone to %Tor: 0.4.3.x-final
changed milestone to %Tor: 0.4.3.x-final
Trac:
Parent Ticket: #31241 (moved)- Author
Branch is
bug32175
with PR at https://github.com/torproject/tor/pull/1438 .It makes test_options.c a few hundred lines shorter. Will needs_review once CI passes.
Trac:
Actualpoints: N/A to .2 CI seems slow, I opened #32177 (moved).
- Author
Yeah, it's still waiting. Are you okay reviewing this one, teor? Tentatively putting you on it. Once this and #31999 (moved) are in, I can make more progress on options_validate cleanup.
Trac:
Reviewer: N/A to teor
Status: assigned to needs_review - Author
Merged to master!
Trac:
Resolution: N/A to fixed
Status: merge_ready to closed - Trac closed
closed
- Trac added 1h 36m of time spent
added 1h 36m of time spent
- Nick Mathewson mentioned in issue #32185 (moved)
mentioned in issue #32185 (moved)
- Trac mentioned in issue #31241 (moved)
mentioned in issue #31241 (moved)
- Trac moved to tpo/core/tor#32175 (closed)
moved to tpo/core/tor#32175 (closed)
- Trac mentioned in issue tpo/core/tor#32185 (closed)
mentioned in issue tpo/core/tor#32185 (closed)