aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_util.c
Commit message (Expand)AuthorAge
* Start tor-fw-helper in the background, and log whatever it outputsSteven Murdoch2010-09-30
* Merge remote branch 'public/bug1954' into maint-0.2.2Nick Mathewson2010-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 Mathewson2010-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 Hahn2010-09-23
* | Allow comments for multi-line torrc optionsSebastian Hahn2010-09-11
* | Support mutli-line torrc options via the usual backslash syntaxNick Mathewson2010-09-10
|/
* Add unit test for tor_listdir.Nick Mathewson2010-08-20
* Create control.hSebastian Hahn2010-07-27
* Create config.hSebastian Hahn2010-07-27
* Merge commit 'origin/maint-0.2.1'•••Conflicts: src/or/test.c Nick Mathewson2010-04-12
* Merge branch 'asprintf'Nick Mathewson2010-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 Mathewson2010-02-25
* | Update copyright dates for files not in maint-0.2.1Nick Mathewson2010-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 Mathewson2010-01-25
* Remove duplicate words and a duplicate newline.Karsten Loesing2009-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 Mathewson2009-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 Mathewson2009-10-26
* Split directory tests into their own module.•••(Also, clean up some whitespace.) Nick Mathewson2009-09-23
* Split test_util() into smaller functions.Nick Mathewson2009-09-23
* Split general util and address tests into their own files.Nick Mathewson2009-09-23