diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-18 15:51:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-08-15 12:03:36 -0400 |
commit | c342ea98791ccbeb67b1255816ca2e92167cefb0 (patch) | |
tree | 81a9f7a8ff193bfc4b4bfe863179057882d558e6 /src/test/test_options.c | |
parent | 7da59721a9963862b7b19dbba4e55d010c296d34 (diff) | |
download | tor-c342ea98791ccbeb67b1255816ca2e92167cefb0.tar.gz tor-c342ea98791ccbeb67b1255816ca2e92167cefb0.zip |
Unit tests for ext_or_id_map.
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r-- | src/test/test_options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c index 6beff2567e..737f658e2c 100644 --- a/src/test/test_options.c +++ b/src/test/test_options.c @@ -148,6 +148,8 @@ test_options_validate(void *arg) (void)arg; setup_log_callback(); + WANT_ERR("ExtORPort 500000", "Invalid ExtORPort"); + WANT_ERR_LOG("ServerTransportOptions trebuchet", "ServerTransportOptions did not parse", LOG_WARN, "Too few arguments"); @@ -157,7 +159,6 @@ test_options_validate(void *arg) "ServerTransportOptions did not parse", LOG_WARN, "\"slingsnappy\" is not a k=v"); -// done: clear_log_messages(); return; } |