diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-30 17:53:58 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-01 00:04:06 -0500 |
commit | 6785aa4010c141ab8792e41745acc2267ce46ca4 (patch) | |
tree | 2a90906e6aa7ba9114d4fc21d74aaf59c6a75bb8 /src/test | |
parent | b058f64cc002b44e6dd48616ca3163a01c3f3e14 (diff) | |
download | tor-6785aa4010c141ab8792e41745acc2267ce46ca4.tar.gz tor-6785aa4010c141ab8792e41745acc2267ce46ca4.zip |
Move routerparse and parsecommon to their own module.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/fuzz_consensus.c | 2 | ||||
-rw-r--r-- | src/test/fuzz/fuzz_descriptor.c | 2 | ||||
-rw-r--r-- | src/test/fuzz/fuzz_extrainfo.c | 2 | ||||
-rw-r--r-- | src/test/fuzz/fuzz_hsdescv2.c | 2 | ||||
-rw-r--r-- | src/test/fuzz/fuzz_hsdescv3.c | 2 | ||||
-rw-r--r-- | src/test/fuzz/fuzz_iptsv2.c | 2 | ||||
-rw-r--r-- | src/test/fuzz/fuzz_microdesc.c | 2 | ||||
-rw-r--r-- | src/test/fuzz/fuzz_vrs.c | 2 | ||||
-rw-r--r-- | src/test/test.c | 2 | ||||
-rw-r--r-- | src/test/test_consdiffmgr.c | 2 | ||||
-rw-r--r-- | src/test/test_dir.c | 2 | ||||
-rw-r--r-- | src/test/test_dir_common.h | 2 | ||||
-rw-r--r-- | src/test/test_dir_handle_get.c | 2 | ||||
-rw-r--r-- | src/test/test_entrynodes.c | 2 | ||||
-rw-r--r-- | src/test/test_guardfraction.c | 2 | ||||
-rw-r--r-- | src/test/test_hs_service.c | 2 | ||||
-rw-r--r-- | src/test/test_microdesc.c | 2 | ||||
-rw-r--r-- | src/test/test_policy.c | 2 | ||||
-rw-r--r-- | src/test/test_routerlist.c | 2 | ||||
-rw-r--r-- | src/test/test_routerset.c | 2 | ||||
-rw-r--r-- | src/test/test_shared_random.c | 2 |
21 files changed, 21 insertions, 21 deletions
diff --git a/src/test/fuzz/fuzz_consensus.c b/src/test/fuzz/fuzz_consensus.c index b170fd33d8..c368b58d04 100644 --- a/src/test/fuzz/fuzz_consensus.c +++ b/src/test/fuzz/fuzz_consensus.c @@ -2,7 +2,7 @@ /* See LICENSE for licensing information */ #define ROUTERPARSE_PRIVATE #include "core/or/or.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/nodelist/networkstatus.h" #include "lib/crypt_ops/crypto_ed25519.h" #include "feature/nodelist/networkstatus_st.h" diff --git a/src/test/fuzz/fuzz_descriptor.c b/src/test/fuzz/fuzz_descriptor.c index 2babdce4bf..f7d4a7911a 100644 --- a/src/test/fuzz/fuzz_descriptor.c +++ b/src/test/fuzz/fuzz_descriptor.c @@ -2,7 +2,7 @@ /* See LICENSE for licensing information */ #define ROUTERPARSE_PRIVATE #include "core/or/or.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/nodelist/routerlist.h" #include "feature/nodelist/torcert.h" #include "feature/keymgt/loadkey.h" diff --git a/src/test/fuzz/fuzz_extrainfo.c b/src/test/fuzz/fuzz_extrainfo.c index 6c88f80122..56fd6b7592 100644 --- a/src/test/fuzz/fuzz_extrainfo.c +++ b/src/test/fuzz/fuzz_extrainfo.c @@ -2,7 +2,7 @@ /* See LICENSE for licensing information */ #define ROUTERPARSE_PRIVATE #include "core/or/or.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/nodelist/routerlist.h" #include "feature/relay/routerkeys.h" #include "test/fuzz/fuzzing.h" diff --git a/src/test/fuzz/fuzz_hsdescv2.c b/src/test/fuzz/fuzz_hsdescv2.c index fd5da41635..ebab5c6ce0 100644 --- a/src/test/fuzz/fuzz_hsdescv2.c +++ b/src/test/fuzz/fuzz_hsdescv2.c @@ -2,7 +2,7 @@ /* See LICENSE for licensing information */ #define ROUTERPARSE_PRIVATE #include "core/or/or.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/rend/rendcommon.h" #include "lib/crypt_ops/crypto_ed25519.h" #include "test/fuzz/fuzzing.h" diff --git a/src/test/fuzz/fuzz_hsdescv3.c b/src/test/fuzz/fuzz_hsdescv3.c index b332973b39..4d630bf9bd 100644 --- a/src/test/fuzz/fuzz_hsdescv3.c +++ b/src/test/fuzz/fuzz_hsdescv3.c @@ -8,7 +8,7 @@ #include "trunnel/ed25519_cert.h" /* Trunnel interface. */ #include "lib/crypt_ops/crypto_ed25519.h" #include "feature/hs/hs_descriptor.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "test/fuzz/fuzzing.h" diff --git a/src/test/fuzz/fuzz_iptsv2.c b/src/test/fuzz/fuzz_iptsv2.c index a3082f4d0e..6fdfec3c9f 100644 --- a/src/test/fuzz/fuzz_iptsv2.c +++ b/src/test/fuzz/fuzz_iptsv2.c @@ -2,7 +2,7 @@ /* See LICENSE for licensing information */ #define ROUTERPARSE_PRIVATE #include "core/or/or.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/rend/rendcommon.h" #include "lib/crypt_ops/crypto_ed25519.h" diff --git a/src/test/fuzz/fuzz_microdesc.c b/src/test/fuzz/fuzz_microdesc.c index fa9676372d..15e8b004c9 100644 --- a/src/test/fuzz/fuzz_microdesc.c +++ b/src/test/fuzz/fuzz_microdesc.c @@ -2,7 +2,7 @@ /* See LICENSE for licensing information */ #define ROUTERPARSE_PRIVATE #include "core/or/or.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/nodelist/microdesc.h" #include "lib/crypt_ops/crypto_ed25519.h" diff --git a/src/test/fuzz/fuzz_vrs.c b/src/test/fuzz/fuzz_vrs.c index 8c96851b1f..6b22077ae6 100644 --- a/src/test/fuzz/fuzz_vrs.c +++ b/src/test/fuzz/fuzz_vrs.c @@ -3,7 +3,7 @@ #define ROUTERPARSE_PRIVATE #define NETWORKSTATUS_PRIVATE #include "core/or/or.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "lib/memarea/memarea.h" #include "feature/nodelist/microdesc.h" #include "feature/nodelist/networkstatus.h" diff --git a/src/test/test.c b/src/test/test.c index fff87a2b56..2b2f536e25 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -54,7 +54,7 @@ #include "core/crypto/onion_tap.h" #include "core/or/policies.h" #include "feature/stats/rephist.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "app/config/statefile.h" #include "lib/crypt_ops/crypto_curve25519.h" diff --git a/src/test/test_consdiffmgr.c b/src/test/test_consdiffmgr.c index 6c0601b504..dc05c351bf 100644 --- a/src/test/test_consdiffmgr.c +++ b/src/test/test_consdiffmgr.c @@ -11,7 +11,7 @@ #include "core/mainloop/cpuworker.h" #include "lib/crypt_ops/crypto_rand.h" #include "feature/nodelist/networkstatus.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "lib/evloop/workqueue.h" #include "lib/compress/compress.h" #include "lib/encoding/confline.h" diff --git a/src/test/test_dir.c b/src/test/test_dir.c index aa1c706b1f..23c8c4a1d3 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -51,7 +51,7 @@ #include "feature/nodelist/nickname.h" #include "feature/nodelist/node_select.h" #include "feature/nodelist/routerlist.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/nodelist/routerset.h" #include "feature/nodelist/torcert.h" #include "feature/relay/router.h" diff --git a/src/test/test_dir_common.h b/src/test/test_dir_common.h index 1e90228edb..9bcabc7bdf 100644 --- a/src/test/test_dir_common.h +++ b/src/test/test_dir_common.h @@ -5,7 +5,7 @@ #include "core/or/or.h" #include "feature/nodelist/networkstatus.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #define TEST_DIR_ROUTER_ID_1 3 #define TEST_DIR_ROUTER_ID_2 5 diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index 623d9e9b9d..7deed61e76 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -29,7 +29,7 @@ #include "test/test_helpers.h" #include "feature/nodelist/nodelist.h" #include "feature/client/entrynodes.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/nodelist/networkstatus.h" #include "core/proto/proto_http.h" #include "lib/geoip/geoip.h" diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c index ebe9accf5a..295586c69f 100644 --- a/src/test/test_entrynodes.c +++ b/src/test/test_entrynodes.c @@ -26,7 +26,7 @@ #include "feature/nodelist/networkstatus.h" #include "core/or/policies.h" #include "feature/nodelist/routerlist.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/nodelist/routerset.h" #include "app/config/statefile.h" diff --git a/src/test/test_guardfraction.c b/src/test/test_guardfraction.c index 7d4a959bb4..c7266be66f 100644 --- a/src/test/test_guardfraction.c +++ b/src/test/test_guardfraction.c @@ -10,7 +10,7 @@ #include "app/config/config.h" #include "feature/dirauth/guardfraction.h" #include "feature/client/entrynodes.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus_st.h" diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 334bde3e7b..67686bbeee 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -43,7 +43,7 @@ #include "feature/nodelist/networkstatus.h" #include "feature/nodelist/nodelist.h" #include "core/or/relay.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/hs/hs_common.h" #include "feature/hs/hs_config.h" #include "feature/hs/hs_ident.h" diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c index ec4779ead1..bec8053f6e 100644 --- a/src/test/test_microdesc.c +++ b/src/test/test_microdesc.c @@ -10,7 +10,7 @@ #include "feature/nodelist/microdesc.h" #include "feature/nodelist/networkstatus.h" #include "feature/nodelist/routerlist.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/nodelist/torcert.h" #include "feature/nodelist/microdesc_st.h" diff --git a/src/test/test_policy.c b/src/test/test_policy.c index 6a07e5b1f8..5101b57abf 100644 --- a/src/test/test_policy.c +++ b/src/test/test_policy.c @@ -5,7 +5,7 @@ #define CONFIG_PRIVATE #include "app/config/config.h" #include "feature/relay/router.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #define POLICIES_PRIVATE #include "core/or/policies.h" #include "lib/encoding/confline.h" diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c index 1086b98612..a76f5c37d1 100644 --- a/src/test/test_routerlist.c +++ b/src/test/test_routerlist.c @@ -33,7 +33,7 @@ #include "feature/nodelist/node_select.h" #include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerset.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/dirauth/shared_random.h" #include "app/config/statefile.h" diff --git a/src/test/test_routerset.c b/src/test/test_routerset.c index fede419f0b..56abce162c 100644 --- a/src/test/test_routerset.c +++ b/src/test/test_routerset.c @@ -6,7 +6,7 @@ #include "core/or/or.h" #include "lib/geoip/geoip.h" #include "feature/nodelist/routerset.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "core/or/policies.h" #include "feature/nodelist/nodelist.h" diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c index 725724aa56..4dc017f33c 100644 --- a/src/test/test_shared_random.c +++ b/src/test/test_shared_random.c @@ -19,7 +19,7 @@ #include "feature/relay/routerkeys.h" #include "feature/nodelist/authcert.h" #include "feature/nodelist/dirlist.h" -#include "feature/nodelist/routerparse.h" +#include "feature/dirparse/routerparse.h" #include "feature/hs_common/shared_random_client.h" #include "feature/dircommon/voting_schedule.h" |