diff options
author | David Goulet <dgoulet@torproject.org> | 2020-07-01 12:31:28 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-07-01 12:31:40 -0400 |
commit | f152d5b15f50972c69021f386a806587d91a0654 (patch) | |
tree | 85ca7f08471bea83603e204128270a9fec17c73f /src | |
parent | f30f53e0992e78127602a15c27efd10060e45930 (diff) | |
download | tor-f152d5b15f50972c69021f386a806587d91a0654.tar.gz tor-f152d5b15f50972c69021f386a806587d91a0654.zip |
test: Rename test_rep_hist to test_stats
The exposed interface is "stats/" thus make the unit tests clear that it is
testing that specific GETINFO command.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_controller.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_controller.c b/src/test/test_controller.c index f6dccf3bfa..49efeb5f88 100644 --- a/src/test/test_controller.c +++ b/src/test/test_controller.c @@ -2134,7 +2134,7 @@ mock_rep_hist_get_circuit_handshake(uint16_t type) } static void -test_rep_hist(void *arg) +test_stats(void *arg) { /* We just need one of these to pass, it doesn't matter what's in it */ control_connection_t dummy; @@ -2232,6 +2232,6 @@ struct testcase_t controller_tests[] = { { "getinfo_md_all", test_getinfo_md_all, 0, NULL, NULL }, { "control_reply", test_control_reply, 0, NULL, NULL }, { "control_getconf", test_control_getconf, 0, NULL, NULL }, - { "rep_hist", test_rep_hist, 0, NULL, NULL }, + { "stats", test_stats, 0, NULL, NULL }, END_OF_TESTCASES }; |