Loading src/test/test.c +2 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,8 @@ setup_directory(void) r = mkdir(temp_dir); } #else tor_snprintf(temp_dir, sizeof(temp_dir), "/tmp/tor_test_%d_%s", (int) getpid(), rnd32); tor_snprintf(temp_dir, sizeof(temp_dir), "/tmp/tor_test_%d_%s", (int) getpid(), rnd32); r = mkdir(temp_dir, 0700); #endif if (r) { Loading src/test/test_dir.c +5 −5 Original line number Diff line number Diff line Loading @@ -2050,7 +2050,7 @@ test_consensus_for_umbw(networkstatus_t *con, time_t now) test_assert(con); test_assert(!con->cert); /* test_assert(con->consensus_method >= MIN_METHOD_TO_CLIP_UNMEASURED_BW_KB); */ // test_assert(con->consensus_method >= MIN_METHOD_TO_CLIP_UNMEASURED_BW_KB); test_assert(con->consensus_method >= 16); test_eq(4, smartlist_len(con->routerstatus_list)); /* There should be four listed routers; all voters saw the same in this */ Loading Loading @@ -2176,8 +2176,8 @@ test_dir_clip_unmeasured_bw_kb(void) } /** * This version of test_dir_clip_unmeasured_bw_kb() uses a non-default choice of * clip bandwidth. * This version of test_dir_clip_unmeasured_bw_kb() uses a non-default choice * of clip bandwidth. */ static void Loading src/or/routerparse.c +1 −1 File changed.Contains only whitespace changes. Show changes Loading
src/test/test.c +2 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,8 @@ setup_directory(void) r = mkdir(temp_dir); } #else tor_snprintf(temp_dir, sizeof(temp_dir), "/tmp/tor_test_%d_%s", (int) getpid(), rnd32); tor_snprintf(temp_dir, sizeof(temp_dir), "/tmp/tor_test_%d_%s", (int) getpid(), rnd32); r = mkdir(temp_dir, 0700); #endif if (r) { Loading
src/test/test_dir.c +5 −5 Original line number Diff line number Diff line Loading @@ -2050,7 +2050,7 @@ test_consensus_for_umbw(networkstatus_t *con, time_t now) test_assert(con); test_assert(!con->cert); /* test_assert(con->consensus_method >= MIN_METHOD_TO_CLIP_UNMEASURED_BW_KB); */ // test_assert(con->consensus_method >= MIN_METHOD_TO_CLIP_UNMEASURED_BW_KB); test_assert(con->consensus_method >= 16); test_eq(4, smartlist_len(con->routerstatus_list)); /* There should be four listed routers; all voters saw the same in this */ Loading Loading @@ -2176,8 +2176,8 @@ test_dir_clip_unmeasured_bw_kb(void) } /** * This version of test_dir_clip_unmeasured_bw_kb() uses a non-default choice of * clip bandwidth. * This version of test_dir_clip_unmeasured_bw_kb() uses a non-default choice * of clip bandwidth. */ static void Loading