aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_rebind.py
AgeCommit message (Collapse)Author
2020-07-16Update test_rebind.py to expect new format.Nick Mathewson
2019-12-12python: Add __future__ imports for python 3 compatibilityteor
Except for src/ext, which we may not want to modify. Closes ticket 32732.
2019-10-21Merge remote-tracking branch 'tor-github/pr/1354' into maint-0.4.2teor
2019-10-20test/rebind: Make control formatting and log parsing more robustteor
* actually sleep when tor has not logged anything * log at debug level when waiting for tor to log something * backslash-replace bad UTF-8 characters in logs * format control messages as ASCII: tor does not accept UTF-8 control commands Fixes bug 31837; bugfix on 0.3.5.1-alpha.
2019-06-11Merge remote-tracking branch 'tor-github/pr/1091' into maint-0.3.5teor
2019-06-10Merge branch 'bug30713_035' into bug30713_040teor
2019-06-10Travis: Skip test_rebind on macOS buildsteor
Skip test_rebind when the TOR_SKIP_TEST_REBIND environmental variable is set. Skip test_rebind on macOS in Travis builds, because it is unreliable on macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
2019-05-29Merge branch 'tor-github/pr/924' into maint-0.4.0George Kadianakis
2019-04-10test: Also avoid reading the system default torrc in integration teststeor
Part of 29702.
2019-04-10Use empty torrc file when launching tor in test_rebind.pyrl1987
2018-12-19Merge branch 'maint-0.3.5'Nick Mathewson
2018-12-19Merge branch 'ticket28883_035' into maint-0.3.5Nick Mathewson
2018-12-17Create a temporary directory for tor's DataDirectory in test_rebind.Taylor R Campbell
Fixes #28562. While here, put the argument count test and usage message _before_ we attempt to read from sys.argv.
2018-12-17test_rebind: wait for tor to timeout, even if it is logging a lotNick Mathewson
Fixes bug 28883; bugfix on 0.3.5.4-alpha.
2018-12-03Print error message we get from socket.connect_ex when it failsrl1987
2018-12-01Merge branch 'maint-0.3.5'Nick Mathewson
2018-12-01Also log a Tor log entry when it has a substring we are waiting forrl1987
2018-12-011 ms. resolution for Tor logsrl1987
2018-12-01Log everything from tor down to debug loglevelrl1987
2018-12-01In test_rebind.py, log stuff with timestampsrl1987
2018-11-23Create a temporary directory for tor's DataDirectory in test_rebind.Taylor R Campbell
Fixes #28562. While here, put the argument count test and usage message _before_ we attempt to read from sys.argv.
2018-11-02Sort the imports in test_rebind.pyteor
Cleanup after #27968.
2018-11-02Make test_rebind.py timeout when waiting for a log messageteor
Closes #27968.
2018-11-02Refactor test_rebind.py to consistently print FAIL on failureteor
Part of #27968.
2018-11-02Avoid a race condition in test_rebind.pyteor
If tor terminates due to SIGNAL HALT before test_rebind.py calls tor_process.terminate(), an OSError 3 (no such process) is thrown. Fixes part of bug 27968 on 0.3.5.1-alpha.
2018-09-21Check Python version in test_rebind.pyrl1987
2018-09-21Remove misleading first line in test_rebind.pyrl1987
test_rebind.py actually does not require Python 3. Bugfix on 5a11670fcaad0a58de48425ba80510effbe35628; bug not in any Tor release.
2018-09-12Update/fix CI buildrl1987
Update integration test to Python 3
2018-09-12Pick random ports in test_rebind.pyrl1987
2018-09-12Tweak test_rebind.py for future-proofnessrl1987
2018-09-12Integration test for socket rebindingrl1987
squash! Integration test for socket rebinding