aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2023-01-12 09:06:32 -0500
committerDavid Goulet <dgoulet@torproject.org>2023-01-12 09:07:52 -0500
commitf2e9ce72d62c4057b32a524ad032b86dffa9a995 (patch)
tree039e3a01f393322e1530035fd094bb51816b1e3c /src/test
parentc6ef04e0d07418f447209d86d642394a190b6702 (diff)
downloadtor-f2e9ce72d62c4057b32a524ad032b86dffa9a995.tar.gz
tor-f2e9ce72d62c4057b32a524ad032b86dffa9a995.zip
dirauth: Reject 0.4.6.x series at the authority level
Closes #40664 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_process_descs.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/test/test_process_descs.c b/src/test/test_process_descs.c
index 1471bec18e..abcb6ae2fe 100644
--- a/src/test/test_process_descs.c
+++ b/src/test/test_process_descs.c
@@ -47,13 +47,21 @@ test_process_descs_versions(void *arg)
{ "Tor 0.4.3.0-alpha-dev", true },
{ "Tor 0.4.3.8", true },
{ "Tor 0.4.4.9", true },
+
+ /* The 0.4.5.x series stable is supported. */
{ "Tor 0.4.5.5-rc", true },
- // new enough to be supported
{ "Tor 0.4.5.6", false },
- { "Tor 0.4.6.0-alpha-dev", false },
- { "Tor 0.4.6.5", false },
+ { "Tor 0.4.5.15", false },
+
+ { "Tor 0.4.6.0-alpha-dev", true },
+ { "Tor 0.4.6.1-alpha", true },
+ { "Tor 0.4.6.5", true },
+ { "Tor 0.4.6.50", true }, /* Non existing one in the 0.4.6 series */
+
{ "Tor 0.4.7.0-alpha-dev", false },
{ "Tor 0.4.7.3-alpha", false },
+ { "Tor 0.4.7.12", false },
+
// Very far in the future
{ "Tor 100.100.1.5", false },
};