aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2010-05-12 15:31:22 -0700
committerMike Perry <mikeperry-git@fscked.org>2010-05-12 15:31:22 -0700
commitd9be6f38450fd4c20f5c3711e68676547997b23c (patch)
tree4083408446228ba747216e40d46eb6b37b77de66 /src/test
parent8ada0011f9a019ecabffc1d154447e6cb34c7567 (diff)
downloadtor-d9be6f38450fd4c20f5c3711e68676547997b23c.tar
tor-d9be6f38450fd4c20f5c3711e68676547997b23c.tar.gz
Fix CBT unit tests.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test.c b/src/test/test.c
index 8d596981e..eb06c762d 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -494,7 +494,7 @@ test_circuit_timeout(void)
timeout1 = circuit_build_times_calculate_timeout(&estimate,
CBT_DEFAULT_QUANTILE_CUTOFF/100.0);
circuit_build_times_set_timeout(&estimate);
- log_warn(LD_CIRC, "Timeout is %lf, Xm is %d", timeout1, estimate.Xm);
+ log_warn(LD_CIRC, "Timeout1 is %lf, Xm is %d", timeout1, estimate.Xm);
/* XXX: 5% distribution error may not be the right metric */
} while (fabs(circuit_build_times_cdf(&initial, timeout0) -
circuit_build_times_cdf(&initial, timeout1)) > 0.05
@@ -511,7 +511,7 @@ test_circuit_timeout(void)
CBT_DEFAULT_QUANTILE_CUTOFF/100.0);
circuit_build_times_set_timeout(&final);
- log_warn(LD_CIRC, "Timeout is %lf, Xm is %d", timeout2, final.Xm);
+ log_warn(LD_CIRC, "Timeout2 is %lf, Xm is %d", timeout2, final.Xm);
test_assert(fabs(circuit_build_times_cdf(&initial, timeout0) -
circuit_build_times_cdf(&initial, timeout2)) < 0.05);