summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-22 19:14:08 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-22 19:14:08 +0000
commitb4d387c28bbcfabfc8baa1b63db396888534519a (patch)
treecfcf2aa91d3c404749eda39b6a10078f6ff39238 /src/or/test.c
parent7d79bec54d7b37aacb3914f4baa792315ce4f905 (diff)
downloadtor-b4d387c28bbcfabfc8baa1b63db396888534519a.tar.gz
tor-b4d387c28bbcfabfc8baa1b63db396888534519a.zip
Make freelist_len in memarea.c static; document a few variables.
svn:r17741
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/test.c b/src/or/test.c
index b79f62cc29..521d557a2e 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -51,10 +51,12 @@ const char tor_svn_revision[] = "";
#include <openssl/crypto.h>
#endif
-/* DOCDOC have_failed */
+/** Set to true if any unit test has failed. Mostly, this is set by the macros
+ * in test.h */
int have_failed = 0;
-/* DOCDOC temp_dir */
+/** Temporary directory (set up by setup_directory) under which we store all
+ * our files during testing. */
static char temp_dir[256];
/** Select and create the temporary directory we'll use to run our unit tests.