| Commit message (Expand) | Author | Age |
* | Prefer tt_assert in unit tests, not tor_assert | Nick Mathewson | 2011-06-08 |
* | Fix a minor coverity-found bug in tests | Sebastian Hahn | 2011-06-08 |
* | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-05-15 |
|\ |
|
| * | Add a function to pull off the final component of a path | Nick Mathewson | 2011-05-15 |
* | | Fixup whitespace issues from 3122 commit in 0.2.3 | Nick Mathewson | 2011-05-15 |
* | | Merge remote-tracking branch 'public/bug3122_memcmp_022' into bug3122_memcmp_023•••Conflicts in various places, mainly node-related. Resolved them in
favor of HEAD, with copying of tor_mem* operations from bug3122_memcmp_022.
src/common/Makefile.am
src/or/circuitlist.c
src/or/connection_edge.c
src/or/directory.c
src/or/microdesc.c
src/or/networkstatus.c
src/or/router.c
src/or/routerlist.c
src/test/test_util.c
| Nick Mathewson | 2011-05-11 |
|\| |
|
| * | fwd-port test_util_di_ops into tinytest format | Nick Mathewson | 2011-05-11 |
* | | Use read_all() to read messages from spawn_background•••Using read() is an invitation to get some of the data you want, not all.
Possible fix for bug 2462
| Nick Mathewson | 2011-05-04 |
* | | Merge remote branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-01-03 |
|\| |
|
| * | Merge remote branch 'sebastian/bug2314' into maint-0.2.2 | Nick Mathewson | 2011-01-03 |
| |\ |
|
| | * | Fix compile wanrings revealed by gcc 4.5 on mingw | Sebastian Hahn | 2010-12-27 |
* | | | Merge remote branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-01-03 |
|\| | |
|
| * | | Bump copyright statements to 2011 (0.2.2) | Nick Mathewson | 2011-01-03 |
| |/ |
|
* | | Fix running unit tests from outside of the build directory (fixes bug #2051)•••Currently the unit tests test_util_spawn_background_* assume that they
are run from the Tor build directory. This is not the case when running
make distcheck, so the test will fail. This problem is fixed by autoconf
setting BUILDDIR to be the root of the Tor build directory, and this
preprocessor variable being used to specify the absolute path to
test-child. Also, in test-child, do not print out argv[0] because this will
no longer be predictable. Found by Sebastian Hahn.
| Steven Murdoch | 2010-10-11 |
* | | Merge remote branch 'sjmurdoch/bug1903' | Nick Mathewson | 2010-10-11 |
|\ \ |
|
| * | | Skip running fgets_eagain test until we fix it | Steven Murdoch | 2010-10-11 |
| * | | Add a unit test for tor_spawn_background•••- Test sucessfully starting a process
- Test failing to find the executable
| Steven Murdoch | 2010-10-10 |
| * | | Add a unit test for fgets (currently fails)•••- For a non-blocking pipe, check that on EAGAIN fgets returns NULL
rather than a partial line
| Steven Murdoch | 2010-10-10 |
| * | | Fix issues in nickm's review of format_helper_exit_status for bug #1903•••- Responsibility of clearing hex_errno is no longer with caller
- More conservative bounds checking
- Length requirement of hex_errno documented
- Output format documented
| Steven Murdoch | 2010-10-04 |
* | | | Make tor_sscanf handle %x | Nick Mathewson | 2010-10-11 |
|/ / |
|
* / | Start tor-fw-helper in the background, and log whatever it outputs | Steven Murdoch | 2010-09-30 |
|/ |
|
* | Merge remote branch 'public/bug1954' into maint-0.2.2 | Nick Mathewson | 2010-09-27 |
|\ |
|
| * | New function to load windows system libraries•••This function uses GetSystemDirectory() to make sure we load the version
of the library from c:\windows\system32 (or local equivalent) rather than
whatever version lives in the cwd.
| Nick Mathewson | 2010-09-21 |
* | | Add new torrc line continuation unit tests•••We want to make sure that we don't break old torrc files that might have
used something like this made-up example:
ContactInfo UberUser <uber@user.com> # /// Fake email! \\\
Log info file /home/nick.mathewson/projects/tor-info.log
And we also want to support the following style of writing your torrc:
ExcludeNodes \
# Node1337 is run by the Bavarian Illuminati
Node1337, \
# The operator of Node99 looked at me funny
Node99
The code already handles both cases, but the unit test should help prove
it.
| Sebastian Hahn | 2010-09-23 |
* | | Allow comments for multi-line torrc options | Sebastian Hahn | 2010-09-11 |
* | | Support mutli-line torrc options via the usual backslash syntax | Nick Mathewson | 2010-09-10 |
|/ |
|
* | Add unit test for tor_listdir. | Nick Mathewson | 2010-08-20 |
* | Create control.h | Sebastian Hahn | 2010-07-27 |
* | Create config.h | Sebastian Hahn | 2010-07-27 |
* | Merge commit 'origin/maint-0.2.1'•••Conflicts:
src/or/test.c
| Nick Mathewson | 2010-04-12 |
* | Merge branch 'asprintf' | Nick Mathewson | 2010-04-02 |
|\ |
|
| * | Add a tor_asprintf() function, and use it in a couple of places.•••asprintf() is a GNU extension that some BSDs have picked up: it does a printf
into a newly allocated chunk of RAM.
Our tor_asprintf() differs from standard asprintf() in that:
- Like our other malloc functions, it asserts on OOM.
- It works on windows.
- It always sets its return-field.
| Nick Mathewson | 2010-02-25 |
* | | Update copyright dates for files not in maint-0.2.1 | Nick Mathewson | 2010-02-27 |
|/ |
|
* | Rearrange _thread_test_func to please Coverity Scan•••I believe that since we were allocating *cp while holding a mutex,
coverity deduced that *cp must be protected by that mutex, and later
flipped out when we didn't use it that way. If this is so, we can
solve our problems by moving the *cp = tor_strdup(buf) part outside of
the mutex-protected code.
| Nick Mathewson | 2010-01-25 |
* | Remove duplicate words and a duplicate newline. | Karsten Loesing | 2009-12-18 |
* | Refactor out the 'find string at start of any line' logic.•••We do this in too many places throughout the code; it's time to start
clamping down.
Also, refactor Karsten's patch to use strchr-then-strndup, rather than
malloc-then-strlcpy-then-strchr-then-clear.
| Nick Mathewson | 2009-12-17 |
* | Fix the very noisy unit test memory leak of CID 420-421.•••On any failing case in test_util_config_line, we would leak a couple
of strings.
| Nick Mathewson | 2009-10-26 |
* | Split directory tests into their own module.•••(Also, clean up some whitespace.)
| Nick Mathewson | 2009-09-23 |
* | Split test_util() into smaller functions. | Nick Mathewson | 2009-09-23 |
* | Split general util and address tests into their own files. | Nick Mathewson | 2009-09-23 |