aboutsummaryrefslogtreecommitdiff
path: root/src/test/test-child.c
Commit message (Collapse)AuthorAge
* Update the copyright date to 201.Nick Mathewson2013-01-16
|
* Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson2012-06-04
|
* Use the standard _WIN32, not the Torism MS_WINDOWS or deprecated WIN32Nick Mathewson2012-01-31
| | | | | | | | | | | This commit is completely mechanical; I used this perl script to make it: #!/usr/bin/perl -w -i.bak -p if (/^\s*\#/) { s/MS_WINDOWS/_WIN32/g; s/\bWIN32\b/_WIN32/g; }
* Test case for reading the partial output of a background processSteven Murdoch2011-07-25
|
* Add code to read all from a handle, but this block foreverSteven Murdoch2011-07-22
| | | | | See http://stackoverflow.com/questions/3722409/windows-child-process-with-redirected-input-and-output for a potential solution
* Fix running unit tests from outside of the build directory (fixes bug #2051)Steven Murdoch2010-10-11
| | | | | | | | | | 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.
* Add a unit test for tor_spawn_backgroundSteven Murdoch2010-10-10
- Test sucessfully starting a process - Test failing to find the executable