summaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2015-04-10Disable the udp_socket_trick_blackbox tests that fail due to #12377Yawning Angel
Till someone writes get_interface_address6 interface enumeration that is routing table aware, these tests will continue to fail on certain systems because the get_interface_address6() code is broken.
2015-04-09Collect badness values in ntor_ref.py; don't just clobber.Nick Mathewson
Fixes bug 15591; patch from joelanders
2015-04-01Update entrynodes unit test for dirsSebastian Hahn
We no longer base our opinion on whether someone is a directory solely on the routerstatus we might have for that relay, but also on a routerinfo. Remove logic in test checking that. This broke unit tests in 05f7336624d6a47b3cf0f. Reported by toralf on #tor-dev, thanks!
2015-04-01Merge branch 'bug13736'Nick Mathewson
2015-04-01Merge remote-tracking branch 'yawning/feature15435'Nick Mathewson
2015-03-31work around lack of AF_CCITTNick Mathewson
2015-03-31Merge remote-tracking branch 'teor/ticket15431-event-mask-tests'Nick Mathewson
2015-03-31fix some compilation warningsNick Mathewson
2015-03-31Merge branch 'ticket14710_squashed'Nick Mathewson
2015-03-31Use tor_inet_pton() (not inet_pton()) in testcases.rl1987
2015-03-31Remove unused function.rl1987
2015-03-31IPv6 case for whitebox test.rl1987
2015-03-31Whitebox test for get_interface_address6_via_udp_socket_hack().rl1987
Also, fix some whitespace mishaps.
2015-03-31Skipping the AF_INET6 case because bug #12377 makes it fail.rl1987
2015-03-31Rework the black box test, like Yawning and nickm suggested.rl1987
2015-03-31Black box test for get_interface_address6_via_udp_socket_hack().rl1987
2015-03-26Implement "TOR_PT_EXIT_ON_STDIN_CLOSE".Yawning Angel
Background processes spawned by Tor now will have a valid stdin. Pluggable transports can detect this behavior with the aformentioned enviornment variable, and exit if stdin ever gets closed.
2015-03-24Merge remote-tracking branch 'dgoulet/bug15377_027_01'Nick Mathewson
2015-03-24Test: add missing libor.a in include.amDavid Goulet
Also add test-memwipe to .gitignore file. Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-03-24Merge remote-tracking branch 'sebastian/coverage_builds'Nick Mathewson
2015-03-24Put an upper bound on test_workqueue -I argumentNick Mathewson
This makes coverity happy, since it doesn't like us looping against a value which might be INT_MAX. This is CID 1268069
2015-03-22Fix test-network.sh argument parsingSebastian Hahn
The bash on one of my machines didn't understand the question mark correctly, it didn't end up accepting flavor. We can spell it out explicitly.
2015-03-22Add unit tests for control_event_is_interesting()teor
Part of ticket 15431, checks for bugs similar to 13085.
2015-03-21Disable assertions during coverage buildsSebastian Hahn
This removes roughly 5000 branches in my testing. We never want to trigger assertions even during tests, so this is sane. Implements #15400.
2015-03-19Here is a test for memwipe.Nick Mathewson
It invokes undefined behavior, I'm afraid, since there's no other c-legal way to test whether memwipe() works when we're not allowed to look at it. Closes ticket 15377.
2015-03-14Use output variables instead of relative paths.cypherpunks
Fixes the following rules in out-of-tree builds; - check-spaces - check-docs - check-logs - Doxygen - coverage-html And cleans up additional directories; - coverage_html - doc/doxygen
2015-03-14Remove DynamicDHGroups as obsoleted by PluggableTransports or P256.Nick Mathewson
Closes ticket 13736.
2015-03-12Merge remote-tracking branch 'origin/maint-0.2.6'Nick Mathewson
2015-03-12Merge remote-tracking branch 'public/feature15212_026' into maint-0.2.6Nick Mathewson
2015-03-10Fix check-spacesNick Mathewson
2015-03-10Add link protocol version counts to the heartbeat messageNick Mathewson
Closes ticket 15212
2015-03-09Merge remote-tracking branch 'origin/maint-0.2.6'Nick Mathewson
2015-03-09testing_common.c: avoid side-effects of tor_assertTom van der Woerdt
2015-03-02Fix formattingAndrea Shepard
2015-02-26Have zero_length_keys.sh use an empty torrc file.Nick Mathewson
Fixes 15033; bugfix on 0.2.6.3-alpha.
2015-02-26Have zero_length_keys.sh use an empty torrc file.Nick Mathewson
Fixes 15033; bugfix on 0.2.6.3-alpha.
2015-02-25Merge remote-tracking branch 'atagar/trac14806'Nick Mathewson
2015-02-25Merge remote-tracking branch 'yawning/bug14922'Nick Mathewson
2015-02-24Update test_status.c to accommodate changes in heartbeat messagesNick Mathewson
Fixes #15012; bug not in any released Tor
2015-02-23Remove lingering mempool codecypherpunks
2015-02-23Fix endianness issues in test_config_resolve_my_address().rl1987
Since resolve_my_address() yields IP address in host order there is no need to use byteorder functions for conversion.
2015-02-18clean up comments and whitespace a bitRoger Dingledine
2015-02-18whitespace fixesNick Mathewson
2015-02-18Combine test_helpers.[ch] and testhelper.[ch]Nick Mathewson
2015-02-18Merge branch 'bug9321_rerebase'Nick Mathewson
Conflicts: src/or/dirvote.h src/test/include.am src/test/test_entrynodes.c
2015-02-18Add unittests for the guardfraction feature.George Kadianakis
2015-02-18Unittest prep: Move get_yesterday_date_str() to helper file.George Kadianakis
We want to use this function in our guardfraction unittests, so make a test_helpers module and move it there.
2015-02-17Remove tor_strclear(), and replace previous calls with memwipe().Yawning Angel
2015-02-17Use --list-fingerprint instead of process control in zero_length_keys.shNick Mathewson
Using kill and wait in this way may have been making windows builders unhappy.
2015-02-17Wrap two long linesNick Mathewson