aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-08-17 16:05:09 -0400
committerNick Mathewson <nickm@torproject.org>2012-08-17 16:05:09 -0400
commit1c64f99a1a74cac4074ddefa958fd4ae7acddcb2 (patch)
treed47ca63f67fe817a7a87fe77f88976aa8908753b /src/test
parent63dfc1d9b6e6d488f32c99c3ffad882f6fbe0f51 (diff)
parente13e9c40c829d15fb71310b0638fff859b85580a (diff)
downloadtor-1c64f99a1a74cac4074ddefa958fd4ae7acddcb2.tar.gz
tor-1c64f99a1a74cac4074ddefa958fd4ae7acddcb2.zip
Merge remote-tracking branch 'public/bug5124'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 83c612045b..84705d0e02 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -147,9 +147,9 @@ test_dir_formats(void)
"platform Tor "VERSION" on ", sizeof(buf2));
strlcat(buf2, get_uname(), sizeof(buf2));
strlcat(buf2, "\n"
- "opt protocols Link 1 2 Circuit 1\n"
+ "protocols Link 1 2 Circuit 1\n"
"published 1970-01-01 00:00:00\n"
- "opt fingerprint ", sizeof(buf2));
+ "fingerprint ", sizeof(buf2));
test_assert(!crypto_pk_get_fingerprint(pk2, fingerprint, 1));
strlcat(buf2, fingerprint, sizeof(buf2));
strlcat(buf2, "\nuptime 0\n"
@@ -161,7 +161,7 @@ test_dir_formats(void)
strlcat(buf2, pk1_str, sizeof(buf2));
strlcat(buf2, "signing-key\n", sizeof(buf2));
strlcat(buf2, pk2_str, sizeof(buf2));
- strlcat(buf2, "opt hidden-service-dir\n", sizeof(buf2));
+ strlcat(buf2, "hidden-service-dir\n", sizeof(buf2));
strlcat(buf2, "reject *:*\nrouter-signature\n", sizeof(buf2));
buf[strlen(buf2)] = '\0'; /* Don't compare the sig; it's never the same
* twice */