diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2018-08-08 18:47:43 +0300 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2018-08-08 18:47:43 +0300 |
commit | 9c242e950b45ac67b2b741bc4e0c920a9a57cb43 (patch) | |
tree | 731d91a15aafa7eeab649360ade838884eddbadf /src/test/test_policy.c | |
parent | 7787150521fda0370331dab80d043294e05e1598 (diff) | |
download | tor-9c242e950b45ac67b2b741bc4e0c920a9a57cb43.tar.gz tor-9c242e950b45ac67b2b741bc4e0c920a9a57cb43.zip |
Consider all routerinfo errors other than "not a server" transient
Diffstat (limited to 'src/test/test_policy.c')
-rw-r--r-- | src/test/test_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_policy.c b/src/test/test_policy.c index 4b1adc91f0..6a07e5b1f8 100644 --- a/src/test/test_policy.c +++ b/src/test/test_policy.c @@ -1706,7 +1706,7 @@ test_policies_getinfo_helper_policies(void *arg) rv = getinfo_helper_policies(NULL, "exit-policy/full", &answer, &errmsg); - tt_int_op(rv, OP_EQ, 0); + tt_int_op(rv, OP_EQ, -1); tt_ptr_op(answer, OP_EQ, NULL); tt_ptr_op(errmsg, OP_NE, NULL); tt_str_op(errmsg, OP_EQ, "Key digest failed"); |