diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-13 10:47:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-13 10:47:24 -0400 |
commit | b152d62cee7480ee7b9b68dd9b619db65b6cd112 (patch) | |
tree | ff89d131f60906f9d1b8e06af77883b3d1155769 /src/test/test_options.c | |
parent | ad57b1279ab68e204243ddf3cf841fd85606c331 (diff) | |
parent | 787bafc0f916c143ac244a217accf755817512df (diff) | |
download | tor-b152d62cee7480ee7b9b68dd9b619db65b6cd112.tar.gz tor-b152d62cee7480ee7b9b68dd9b619db65b6cd112.zip |
Merge branch 'token_bucket_refactor_squashed'
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r-- | src/test/test_options.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c index af349ed015..9974ed2575 100644 --- a/src/test/test_options.c +++ b/src/test/test_options.c @@ -4104,16 +4104,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" |