Skip to content

Fix Tests on Windows in Configuration Subsystem.

Alexander Færøy requested to merge ahf/arti:ahf/config-windows-tests into main

This patch changes our default_config() test in arti/src/cfg.rs such that we can define a number of known unrecognized options on different platforms.

We mark the two keys "storage.permissions.trust_group" and "storage.permissions.trust_user" as unknown on the Windows platform as such features is not available using the ordinary Unix UID concept.

This patch also publicly exposes the tor_config::load::DisfavouredKey and tor_config::load::PathEntry types and marks them as non-exhaustive.

See: #450.

Edited by Ian Jackson

Merge request reports