tor/src/test
Steven Murdoch cfa9ee5fe7 Fix double-closing a stdio stream
After a stream reached eof, we fclose it, but then
test_util_spawn_background_partial_read() reads from it again, which causes
an error and thus another fclose(). Some platforms are fine with this, others
(e.g. debian-sid-i386) trigger a double-free() error. The actual code used by
Tor (log_from_pipe() and tor_check_port_forwarding()) handle this case
correctly.
2011-09-01 14:15:54 +01:00
..
Makefile.am Merge remote-tracking branch 'origin/maint-0.2.2' 2011-06-22 18:15:27 -04:00
test_addr.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-06-14 12:25:33 -04:00
test_containers.c Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
test_crypto.c Prefer tt_assert in unit tests, not tor_assert 2011-06-08 20:33:53 -04:00
test_data.c Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2 2011-01-03 11:51:17 -05:00
test_dir.c Upgrade to the latest version of tinytest 2011-06-09 17:30:09 -04:00
test_microdesc.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
test_util.c Fix double-closing a stdio stream 2011-09-01 14:15:54 +01:00
test-child.c Test case for reading the partial output of a background process 2011-07-25 04:08:08 +01:00
test.c Clean up bridge-stats code. 2011-08-04 21:18:19 +02:00
test.h Upgrade to the latest version of tinytest 2011-06-09 17:30:09 -04:00
tinytest_demo.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-06-22 18:15:27 -04:00
tinytest_macros.h Upgrade to the latest version of tinytest 2011-06-09 17:30:09 -04:00
tinytest.c Upgrade to the latest version of tinytest 2011-06-09 17:30:09 -04:00
tinytest.h Update to the latest tinytest version 2010-09-09 14:34:10 -04:00