aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_options.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-10 12:16:21 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-10 12:16:21 -0400
commit16f08de0fd85b9fe8ace9f4905190fa6dc27e4ea (patch)
tree1f93ff4fcd5ab6f9e989cccb49f4c9c3c32aa62d /src/test/test_options.c
parent395fa0258d56b24e39cd714834ffe0dcb365ea25 (diff)
downloadtor-16f08de0fd85b9fe8ace9f4905190fa6dc27e4ea.tar.gz
tor-16f08de0fd85b9fe8ace9f4905190fa6dc27e4ea.zip
Remove TestingEnableTbEmptyEvent
This option was used for shadow testing previously, but is no longer used for anything. It interferes with refactoring our token buckets.
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r--src/test/test_options.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index eaf5034397..0a04e8e40e 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -4135,16 +4135,6 @@ test_options_validate__testing_options(void *ignored)
free_options_test_data(tdata);
tdata = get_options_test_data(TEST_OPTIONS_DEFAULT_VALUES
"TestingEnableTbEmptyEvent 1\n"
- );
- ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, &msg);
- tt_int_op(ret, OP_EQ, -1);
- tt_str_op(msg, OP_EQ, "TestingEnableTbEmptyEvent may only be changed "
- "in testing Tor networks!");
- tor_free(msg);
-
- free_options_test_data(tdata);
- tdata = get_options_test_data(TEST_OPTIONS_DEFAULT_VALUES
- "TestingEnableTbEmptyEvent 1\n"
VALID_DIR_AUTH
"TestingTorNetwork 1\n"
"___UsingTestNetworkDefaults 0\n"