summaryrefslogtreecommitdiff
path: root/tests/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stubs.c')
-rw-r--r--tests/stubs.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/stubs.c b/tests/stubs.c
index f7ac679..fd47a68 100644
--- a/tests/stubs.c
+++ b/tests/stubs.c
@@ -26,14 +26,11 @@ long io_trywrite(long d, const char *buf, long len) {
26/* trackerlogic.c is under test, and starting it up starts every module it 26/* trackerlogic.c is under test, and starting it up starts every module it
27 leans on. None of them is driven by these tests, so they are answered here 27 leans on. None of them is driven by these tests, so they are answered here
28 rather than linked in and left to run threads of their own. */ 28 rather than linked in and left to run threads of their own. */
29void clean_init(void) {} 29/* ot_clean.c is in the unit build for t_clean, so its thread control is the
30void clean_deinit(void) {} 30 real thing and only the stats hook it calls is stubbed here. */
31int clean_single_torrent(ot_torrent *torrent) {
32 (void)torrent;
33 return 0;
34}
35void fullscrape_init(void) {} 31void fullscrape_init(void) {}
36void fullscrape_deinit(void) {} 32void fullscrape_deinit(void) {}
33void stats_cleanup(void) {}
37void livesync_init(void) {} 34void livesync_init(void) {}
38void livesync_deinit(void) {} 35void livesync_deinit(void) {}
39void livesync_tell(struct ot_workstruct *ws) { (void)ws; } 36void livesync_tell(struct ot_workstruct *ws) { (void)ws; }