From 16f08de0fd85b9fe8ace9f4905190fa6dc27e4ea Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 10 Apr 2018 12:16:21 -0400 Subject: Remove TestingEnableTbEmptyEvent This option was used for shadow testing previously, but is no longer used for anything. It interferes with refactoring our token buckets. --- src/test/test_options.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/test/test_options.c') 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 @@ -4132,16 +4132,6 @@ test_options_validate__testing_options(void *ignored) tt_assert(!msg); tor_free(msg); - 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" -- cgit v1.2.3-54-g00ecf